Commit a8b7a62d authored by iman Fauzi's avatar iman Fauzi

reconfig height fragment

parent 041fcb0e
...@@ -64,7 +64,7 @@ public class LoginActivity extends AppCompatActivity { ...@@ -64,7 +64,7 @@ public class LoginActivity extends AppCompatActivity {
height = displayMetrics.heightPixels; height = displayMetrics.heightPixels;
width = displayMetrics.widthPixels; width = displayMetrics.widthPixels;
int maxHeight = height - ((height * 10) / 100); int maxHeight = height - ((height * 4) / 100);
loginSheetLayout.setMaxHeight(maxHeight); loginSheetLayout.setMaxHeight(maxHeight);
// get bottom sheets // get bottom sheets
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
android:layout_gravity="bottom" android:layout_gravity="bottom"
app:behavior_hideable="false" app:behavior_hideable="false"
android:padding="20dp" android:padding="20dp"
style="@style/Widget.Rounded.BottomSheet" style="@style/AppModalStyle"
app:behavior_peekHeight="0dp" app:behavior_peekHeight="0dp"
android:background="@color/colorWhite" android:background="@color/colorWhite"
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"> app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment