全志Launcher代码首次提交
This commit is contained in:
20
app/src/main/res/layout-sw480dp/homegrid_item.xml
Normal file
20
app/src/main/res/layout-sw480dp/homegrid_item.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:paddingStart="5dp"
|
||||
android:descendantFocusability="beforeDescendants">
|
||||
<RelativeLayout
|
||||
android:id="@+id/item_root"
|
||||
android:layout_marginTop="13dp"
|
||||
android:background="@drawable/app_item_bg"
|
||||
android:layout_width="34dp"
|
||||
android:layout_height="34dp">
|
||||
<ImageView
|
||||
android:id="@+id/item_bg"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="match_parent"/>
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
Reference in New Issue
Block a user