mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-30 19:49:59 +02:00
fixed hidden last table row and center bottom menu
This commit is contained in:
@@ -508,7 +508,7 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
BottomNavigationItemView item = (BottomNavigationItemView) menuView.getChildAt(i);
|
BottomNavigationItemView item = (BottomNavigationItemView) menuView.getChildAt(i);
|
||||||
//noinspection RestrictedApi
|
//noinspection RestrictedApi
|
||||||
item.setShiftingMode(false);
|
item.setShiftingMode(false);
|
||||||
//item.setPadding(0, 15, 0, 0);
|
item.setPadding(0, 20, 0, 0);
|
||||||
// set once again checked value, so view will be updated
|
// set once again checked value, so view will be updated
|
||||||
//noinspection RestrictedApi
|
//noinspection RestrictedApi
|
||||||
//item.setChecked(item.getItemData().isChecked());
|
//item.setChecked(item.getItemData().isChecked());
|
||||||
|
@@ -2,8 +2,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical">
|
||||||
android:weightSum="1">
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
Reference in New Issue
Block a user