1
0
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:
OliE
2018-02-16 16:22:05 +01:00
parent 4b417c11a9
commit 62cc866a6d
2 changed files with 2 additions and 3 deletions

View File

@@ -508,7 +508,7 @@ public class MainActivity extends AppCompatActivity {
BottomNavigationItemView item = (BottomNavigationItemView) menuView.getChildAt(i);
//noinspection RestrictedApi
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
//noinspection RestrictedApi
//item.setChecked(item.getItemData().isChecked());

View File

@@ -2,8 +2,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:weightSum="1">
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"