mirror of
https://github.com/shaulascr/ecommerce_serang.git
synced 2025-12-15 15:41:02 +00:00
fix layout
This commit is contained in:
@ -742,7 +742,7 @@ class DetailOrderStatusActivity : AppCompatActivity() {
|
||||
inputFormat.timeZone = TimeZone.getTimeZone("UTC")
|
||||
|
||||
// Output format
|
||||
val outputFormat = SimpleDateFormat("dd MMMM yyyy", Locale("id", "ID"))
|
||||
val outputFormat = SimpleDateFormat("dd MMM yyyy", Locale("id", "ID"))
|
||||
|
||||
// Parse the input date
|
||||
val date = inputFormat.parse(dateString)
|
||||
|
||||
@ -312,7 +312,7 @@
|
||||
|
||||
<Button
|
||||
android:id="@+id/btnReloadLocation"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="36dp"
|
||||
android:text="Reload"
|
||||
android:textSize="12sp"
|
||||
|
||||
@ -411,11 +411,25 @@
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_hold_payment"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxLines="2"
|
||||
android:ellipsize="end"
|
||||
android:layout_weight="1"
|
||||
android:scrollHorizontally="false"
|
||||
android:singleLine="false"
|
||||
style="@style/button.large.secondary.medium"
|
||||
android:text="Tahan Konfirmasi"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_confirm_payment"
|
||||
android:layout_width="180dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxLines="2"
|
||||
android:ellipsize="end"
|
||||
android:layout_weight="1"
|
||||
android:scrollHorizontally="false"
|
||||
android:singleLine="false"
|
||||
style="@style/button.large.active.medium"
|
||||
android:text="Konfirmasi Terima"
|
||||
android:layout_alignParentEnd="true"/>
|
||||
|
||||
@ -379,6 +379,10 @@
|
||||
<Button
|
||||
android:id="@+id/btn_save_address"
|
||||
android:text="Simpan Perubahan"
|
||||
android:layout_height="36dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
style="@style/button.large.active.long"
|
||||
android:enabled="true"
|
||||
android:layout_marginBottom="16dp"/>
|
||||
|
||||
@ -75,7 +75,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="@font/dmsans_regular"
|
||||
android:theme="@style/body_medium"
|
||||
|
||||
android:text="Tidak" />
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
<TextView
|
||||
android:id="@+id/courier_name_cost"
|
||||
android:fontFamily="@font/dmsans_semibold"
|
||||
android:textSize="14sp"
|
||||
android:textSize="16sp"
|
||||
android:paddingHorizontal="2dp"
|
||||
android:paddingTop="4dp"
|
||||
android:ellipsize="end"
|
||||
@ -54,7 +54,7 @@
|
||||
android:id="@+id/est_date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="12sp"
|
||||
android:textSize="14sp"
|
||||
android:paddingHorizontal="4dp"
|
||||
android:text="Estimasi 3-4 hari"/>
|
||||
</LinearLayout>
|
||||
@ -65,7 +65,7 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0.3"
|
||||
android:textSize="14sp"
|
||||
android:textSize="16sp"
|
||||
android:gravity="start"
|
||||
android:fontFamily="@font/dmsans_semibold"
|
||||
android:text="Rp15.000"/>
|
||||
|
||||
@ -188,7 +188,7 @@
|
||||
</style>
|
||||
|
||||
<style name="button.large.active.long">
|
||||
<item name="android:layout_width">380dp</item>
|
||||
<item name="android:layout_width">320dp</item>
|
||||
</style>
|
||||
|
||||
<style name="button.large.active.medium">
|
||||
|
||||
Reference in New Issue
Block a user