mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 19:44:58 +00:00
use material ui in `holder_lua_script
`
This commit is contained in:
parent
255ab29ba2
commit
57efe2a062
1 changed files with 33 additions and 27 deletions
|
@ -1,43 +1,50 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="start|center"
|
||||
android:padding="5dp">
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
<com.google.android.material.card.MaterialCardView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/simple_card_background"
|
||||
android:backgroundTint="?colorSurfaceVariant"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center"
|
||||
android:padding="10dp">
|
||||
app:cardBackgroundColor="?attr/colorSurfaceVariant"
|
||||
app:cardCornerRadius="8dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_margin="10dp">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="70dp"
|
||||
android:layout_marginHorizontal="5dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:tint="?colorOnSurfaceVariant"
|
||||
android:alpha="0.5"
|
||||
android:padding="14dp"
|
||||
android:src="@drawable/ic_code"
|
||||
android:layout_marginBottom="14dp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/app_name"
|
||||
android:textSize="15sp"
|
||||
android:gravity="center"/>
|
||||
android:orientation="vertical"
|
||||
android:gravity="center"
|
||||
android:padding="10dp">
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
<ImageView
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="70dp"
|
||||
android:layout_marginHorizontal="5dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:tint="?attr/colorOnSurfaceVariant"
|
||||
android:alpha="0.5"
|
||||
android:padding="14dp"
|
||||
android:src="@drawable/ic_code"
|
||||
android:layout_marginBottom="14dp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/app_name"
|
||||
android:textSize="15sp"
|
||||
android:gravity="center"/>
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageButton
|
||||
</LinearLayout>
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/edit"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
|
@ -46,7 +53,6 @@
|
|||
android:padding="10dp"
|
||||
android:tint="?colorOnSurfaceVariant"
|
||||
android:layout_gravity="end|top"
|
||||
android:background="#0000"
|
||||
android:backgroundTint="#0000"
|
||||
android:layout_margin="10dp"/>
|
||||
|
||||
</FrameLayout>
|
||||
</FrameLayout>
|
||||
|
|
Loading…
Add table
Reference in a new issue