全志Launcher代码首次提交
This commit is contained in:
35
app/src/main/res/layout-sw720dp/ad_multi_layout.xml
Normal file
35
app/src/main/res/layout-sw720dp/ad_multi_layout.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/layout_rect_group"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/multi_inside"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
>
|
||||
<ImageView
|
||||
android:id="@+id/img_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true"/>
|
||||
<TextView
|
||||
android:id="@+id/tx_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="71dp"
|
||||
android:background="@drawable/item_text_bg"
|
||||
android:textSize="20sp"
|
||||
android:paddingStart="21dp"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingBottom="26dp"
|
||||
android:gravity="left"
|
||||
android:textColor="@color/btn_text_color"/>
|
||||
<RelativeLayout
|
||||
android:id="@+id/ad_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
44
app/src/main/res/layout-sw720dp/add_apps_grid_item.xml
Normal file
44
app/src/main/res/layout-sw720dp/add_apps_grid_item.xml
Normal file
@@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="125dp"
|
||||
android:layout_height="132dp"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:focusableInTouchMode="true">
|
||||
<RelativeLayout
|
||||
android:id="@+id/item_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/img_app"
|
||||
android:layout_width="80dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_height="80dp">
|
||||
</ImageView>
|
||||
<TextView
|
||||
android:id="@+id/item_name"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="10dp"
|
||||
android:paddingEnd="10dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:marqueeRepeatLimit="marquee_forever"
|
||||
android:ellipsize="marquee"
|
||||
android:textSize="15sp"
|
||||
android:layout_marginVertical="3dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:textColor="@color/item_text_color"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
<ImageView
|
||||
android:layout_height="27dp"
|
||||
android:id="@+id/item_sel"
|
||||
android:layout_width="27dp"
|
||||
android:layout_marginEnd="7dp"
|
||||
android:layout_marginTop="7dp"
|
||||
android:layout_alignParentEnd="true">
|
||||
</ImageView>
|
||||
</RelativeLayout>
|
||||
58
app/src/main/res/layout-sw720dp/apps_grid_item.xml
Normal file
58
app/src/main/res/layout-sw720dp/apps_grid_item.xml
Normal file
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="140dp"
|
||||
android:layout_height="147dp"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/app_info_bg"
|
||||
android:clipChildren="true"
|
||||
android:clipToPadding="true"
|
||||
android:focusableInTouchMode="true"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
<RelativeLayout
|
||||
android:id="@+id/item_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/img_app"
|
||||
android:layout_width="72dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="27dp"
|
||||
android:layout_height="72dp">
|
||||
</ImageView>
|
||||
<ImageView
|
||||
android:id="@+id/img_add"
|
||||
android:layout_width="43dp"
|
||||
android:src="@drawable/item_add_img"
|
||||
android:layout_marginTop="43dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_height="43dp">
|
||||
</ImageView>
|
||||
<TextView
|
||||
android:id="@+id/item_name"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="9dp"
|
||||
android:paddingEnd="9dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:marqueeRepeatLimit="marquee_forever"
|
||||
android:ellipsize="marquee"
|
||||
android:textSize="21sp"
|
||||
android:layout_marginVertical="10dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:textColor="@color/item_text_color"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
<ImageView
|
||||
android:layout_height="24dp"
|
||||
android:id="@+id/item_sel"
|
||||
android:layout_width="24dp"
|
||||
android:layout_marginEnd="6dp"
|
||||
android:layout_marginTop="6dp"
|
||||
android:layout_alignParentEnd="true">
|
||||
</ImageView>
|
||||
</RelativeLayout>
|
||||
33
app/src/main/res/layout-sw720dp/childgrid_item.xml
Normal file
33
app/src/main/res/layout-sw720dp/childgrid_item.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.ik.mboxlauncher.view.MyRelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="140dp"
|
||||
android:layout_height="147dp"
|
||||
android:id="@+id/item_bg"
|
||||
android:background="@drawable/app_info_bg"
|
||||
android:descendantFocusability="beforeDescendants"
|
||||
android:focusable="true">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/img_app"
|
||||
android:layout_width="72dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="27dp"
|
||||
android:layout_height="72dp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="9dp"
|
||||
android:paddingEnd="9dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="marquee"
|
||||
android:textSize="21sp"
|
||||
android:layout_marginVertical="10dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:textColor="@color/item_text_color"
|
||||
/>
|
||||
|
||||
</com.ik.mboxlauncher.view.MyRelativeLayout>
|
||||
20
app/src/main/res/layout-sw720dp/homegrid_item.xml
Normal file
20
app/src/main/res/layout-sw720dp/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="7dp"
|
||||
android:descendantFocusability="beforeDescendants">
|
||||
<RelativeLayout
|
||||
android:id="@+id/item_root"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@drawable/app_item_bg"
|
||||
android:layout_width="51dp"
|
||||
android:layout_height="51dp">
|
||||
<ImageView
|
||||
android:id="@+id/item_bg"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="match_parent"/>
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
11
app/src/main/res/layout-sw720dp/homelist_item.xml
Normal file
11
app/src/main/res/layout-sw720dp/homelist_item.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="43dp"
|
||||
android:layout_height="43dp"
|
||||
>
|
||||
<ImageView
|
||||
android:id="@+id/item_type"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
</RelativeLayout>
|
||||
147
app/src/main/res/layout-sw720dp/layout_category_app.xml
Normal file
147
app/src/main/res/layout-sw720dp/layout_category_app.xml
Normal file
@@ -0,0 +1,147 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:descendantFocusability="afterDescendants"
|
||||
android:background="@drawable/frag_bg">
|
||||
<include layout="@layout/layout_custom_apps1"
|
||||
android:id="@+id/coustom_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="300dp"
|
||||
android:visibility="gone"
|
||||
android:descendantFocusability="afterDescendants"
|
||||
android:layout_alignParentTop="true"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/content_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:clipChildren="false"
|
||||
android:visibility="visible">
|
||||
<LinearLayout
|
||||
android:id="@+id/top_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="137dp"
|
||||
android:layout_marginTop="40dp"
|
||||
android:layout_alignParentTop="true"
|
||||
android:gravity="bottom"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:id="@+id/img_logo"
|
||||
android:layout_width="67dp"
|
||||
android:layout_height="67dp"
|
||||
android:src="@drawable/video"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/tv_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:gravity="bottom"
|
||||
android:text="@string/str_video"
|
||||
android:textSize="24dp" />
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/bottom_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="80dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="21dp"
|
||||
android:gravity="center_horizontal">
|
||||
<View
|
||||
android:id="@+id/line"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="4dp"
|
||||
android:layout_marginStart="148dp"
|
||||
android:layout_marginEnd="148dp"
|
||||
android:layout_alignParentTop="true"
|
||||
android:background="@drawable/line" />
|
||||
<ImageView
|
||||
android:id="@+id/img_tab_apps"
|
||||
android:layout_width="67dp"
|
||||
android:layout_height="67dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:src="@drawable/tab_apps_selector"
|
||||
android:background="@drawable/tab_bg_selector"
|
||||
android:layout_centerHorizontal="true"
|
||||
/>
|
||||
<ImageView
|
||||
android:id="@+id/img_tab_recommend"
|
||||
android:layout_width="67dp"
|
||||
android:layout_height="67dp"
|
||||
android:layout_marginStart="7dp"
|
||||
android:layout_marginEnd="7dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:src="@drawable/tab_recommend_selector"
|
||||
android:background="@drawable/tab_bg_selector"
|
||||
android:layout_toLeftOf="@id/img_tab_apps"
|
||||
/>
|
||||
<ImageView
|
||||
android:id="@+id/img_tab_video"
|
||||
android:layout_width="67dp"
|
||||
android:layout_height="67dp"
|
||||
android:layout_marginStart="7dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:src="@drawable/tab_video_selector"
|
||||
android:background="@drawable/tab_bg_selector"
|
||||
android:layout_toLeftOf="@id/img_tab_recommend"
|
||||
/>
|
||||
<ImageView
|
||||
android:id="@+id/img_tab_music"
|
||||
android:layout_width="67dp"
|
||||
android:layout_height="67dp"
|
||||
android:layout_marginStart="7dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:src="@drawable/tab_music_selector"
|
||||
android:background="@drawable/tab_bg_selector"
|
||||
android:layout_toRightOf="@id/img_tab_apps"
|
||||
/>
|
||||
<ImageView
|
||||
android:id="@+id/img_tab_local"
|
||||
android:layout_width="67dp"
|
||||
android:layout_height="67dp"
|
||||
android:layout_marginStart="7dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:src="@drawable/tab_local_selector"
|
||||
android:background="@drawable/tab_bg_selector"
|
||||
android:layout_toRightOf="@id/img_tab_music"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/top_layout"
|
||||
android:layout_above="@id/bottom_layout">
|
||||
<com.ik.mboxlauncher.view.CustomRecyclerViewer
|
||||
android:id="@+id/gv_category_apps"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal"
|
||||
android:paddingStart="126dp"
|
||||
android:paddingEnd="126dp"
|
||||
android:paddingTop="11dp"
|
||||
android:paddingBottom="11dp"
|
||||
android:clipToPadding="false"
|
||||
android:clipChildren="false"
|
||||
app:itemOffsets="9dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:descendantFocusability="afterDescendants"/>
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
20
app/src/main/res/layout-sw720dp/layout_custom_apps1.xml
Normal file
20
app/src/main/res/layout-sw720dp/layout_custom_apps1.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/app_info_add_bg">
|
||||
<com.ik.mboxlauncher.view.CustomRecyclerView
|
||||
android:id="@+id/grid_coustom_apps"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingLeft="4dp"
|
||||
android:paddingRight="4dp"
|
||||
android:paddingBottom="16dp"
|
||||
android:clipChildren="false"
|
||||
android:clipToPadding="false"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:descendantFocusability="afterDescendants" />
|
||||
</RelativeLayout>
|
||||
145
app/src/main/res/layout-sw720dp/layout_rect_group1.xml
Normal file
145
app/src/main/res/layout-sw720dp/layout_rect_group1.xml
Normal file
@@ -0,0 +1,145 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/layout_rect_group"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:clipToPadding="true"
|
||||
android:clipChildren="true"
|
||||
>
|
||||
|
||||
<com.ik.mboxlauncher.view.HomeMultiView
|
||||
android:id="@+id/layout_video"
|
||||
android:layout_width="208dp"
|
||||
android:layout_height="362dp"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
android:layout_marginTop="79dp"
|
||||
android:layout_marginStart="96dp"
|
||||
app:multiViewImage="@drawable/img_video"
|
||||
app:multiViewTitle="@string/str_video"
|
||||
android:nextFocusRight="@id/layout_youtube"
|
||||
android:descendantFocusability="beforeDescendants" />
|
||||
|
||||
|
||||
<com.ik.mboxlauncher.view.HomeMultiView
|
||||
android:id="@+id/layout_youtube"
|
||||
android:layout_width="208dp"
|
||||
android:layout_height="175dp"
|
||||
android:layout_marginStart="316dp"
|
||||
android:layout_marginTop="79dp"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
app:multiViewImage="@drawable/img_youtube"
|
||||
android:descendantFocusability="beforeDescendants"
|
||||
/>
|
||||
|
||||
<com.ik.mboxlauncher.view.HomeMultiView
|
||||
android:id="@+id/layout_recommend"
|
||||
android:layout_width="428dp"
|
||||
android:layout_height="175dp"
|
||||
android:layout_marginStart="536dp"
|
||||
android:layout_marginTop="79dp"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
app:multiViewImage="@drawable/img_recommend"
|
||||
app:multiViewTitle="@string/str_recommend"
|
||||
android:descendantFocusability="beforeDescendants"
|
||||
/>
|
||||
|
||||
|
||||
|
||||
<com.ik.mboxlauncher.view.HomeMultiView
|
||||
android:id="@+id/layout_music"
|
||||
android:layout_width="208dp"
|
||||
android:layout_height="362dp"
|
||||
android:layout_marginStart="976dp"
|
||||
android:layout_marginTop="79dp"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
app:multiViewImage="@drawable/img_music"
|
||||
app:multiViewTitle="@string/str_music"
|
||||
android:descendantFocusability="beforeDescendants"
|
||||
/>
|
||||
|
||||
<com.ik.mboxlauncher.view.HomeMultiView
|
||||
android:id="@+id/layout_netflix"
|
||||
android:layout_width="208dp"
|
||||
android:layout_height="175dp"
|
||||
android:layout_marginStart="316dp"
|
||||
android:layout_marginTop="266dp"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
app:multiViewImage="@drawable/img_netflix"
|
||||
android:descendantFocusability="beforeDescendants"
|
||||
/>
|
||||
|
||||
<com.ik.mboxlauncher.view.HomeMultiView
|
||||
android:id="@+id/layout_primevideo"
|
||||
android:layout_width="208dp"
|
||||
android:layout_height="175dp"
|
||||
android:layout_marginTop="266dp"
|
||||
android:layout_marginStart="536dp"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
app:multiViewImage="@drawable/img_primevideo"
|
||||
android:descendantFocusability="beforeDescendants"
|
||||
/>
|
||||
<com.ik.mboxlauncher.view.HomeMultiView
|
||||
android:id="@+id/layout_filemanager"
|
||||
android:layout_width="208dp"
|
||||
android:layout_height="175dp"
|
||||
android:layout_marginStart="756dp"
|
||||
android:layout_marginTop="266dp"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
app:multiViewImage="@drawable/img_filemanager"
|
||||
android:descendantFocusability="beforeDescendants"
|
||||
/>
|
||||
|
||||
|
||||
<com.ik.mboxlauncher.view.AdMultiView
|
||||
android:id="@+id/layout_miracastreceive"
|
||||
android:layout_width="428dp"
|
||||
android:layout_height="175dp"
|
||||
android:layout_marginStart="96dp"
|
||||
android:layout_marginTop="453dp"
|
||||
app:adMultiViewImage="@drawable/img_miracastreceive"
|
||||
android:focusableInTouchMode="true"
|
||||
android:descendantFocusability="beforeDescendants"
|
||||
/>
|
||||
|
||||
<com.ik.mboxlauncher.view.HomeMultiView
|
||||
android:id="@+id/layout_chrome"
|
||||
android:layout_width="208dp"
|
||||
android:layout_height="175dp"
|
||||
android:layout_marginStart="533dp"
|
||||
android:layout_marginTop="453dp"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
app:multiViewImage="@drawable/img_chrome"
|
||||
android:descendantFocusability="beforeDescendants"
|
||||
/>
|
||||
<com.ik.mboxlauncher.view.HomeMultiView
|
||||
android:id="@+id/layout_hbomax"
|
||||
android:layout_width="208dp"
|
||||
android:layout_height="175dp"
|
||||
android:layout_marginStart="753dp"
|
||||
android:layout_marginTop="453dp"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
app:multiViewImage="@drawable/img_hbomax"
|
||||
android:descendantFocusability="beforeDescendants"
|
||||
/>
|
||||
<com.ik.mboxlauncher.view.HomeMultiView
|
||||
android:id="@+id/layout_setting"
|
||||
android:layout_width="208dp"
|
||||
android:layout_height="175dp"
|
||||
android:layout_marginStart="976dp"
|
||||
android:layout_marginTop="453dp"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
app:multiViewImage="@drawable/img_setting"
|
||||
android:descendantFocusability="beforeDescendants"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
20
app/src/main/res/layout-sw720dp/layout_shortcut.xml
Normal file
20
app/src/main/res/layout-sw720dp/layout_shortcut.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:id="@+id/layout_menu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingStart="100dp"
|
||||
>
|
||||
|
||||
<com.ik.mboxlauncher.view.CustomRecyclerView
|
||||
android:id="@+id/gv_shortcut"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:columnCount="11"
|
||||
android:rowCount="1"
|
||||
android:descendantFocusability="beforeDescendants"
|
||||
/>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
33
app/src/main/res/layout-sw720dp/layout_statusbar.xml
Normal file
33
app/src/main/res/layout-sw720dp/layout_statusbar.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:paddingStart="105dp"
|
||||
android:paddingEnd="105dp"
|
||||
android:background="@color/bg"
|
||||
android:descendantFocusability="blocksDescendants">
|
||||
<GridView
|
||||
android:id="@+id/list_status"
|
||||
android:scrollbars="none"
|
||||
android:layout_marginTop="13dp"
|
||||
android:numColumns="5"
|
||||
android:cacheColorHint="#00000000"
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentStart="true"
|
||||
android:focusable="false"
|
||||
/>
|
||||
|
||||
<com.ik.mboxlauncher.view.TimeTextView
|
||||
android:id="@+id/tx_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="33dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:textSize="20dp" />
|
||||
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
50
app/src/main/res/layout-sw720dp/main.xml
Normal file
50
app/src/main/res/layout-sw720dp/main.xml
Normal file
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/layout_homepage"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/bg"
|
||||
android:descendantFocusability="afterDescendants">
|
||||
|
||||
<include layout="@layout/layout_custom_apps1"
|
||||
android:id="@+id/coustom_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="449dp"
|
||||
android:visibility="gone"
|
||||
android:layout_marginTop="123dp"
|
||||
android:layout_marginBottom="148dp"/>
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/content_view"
|
||||
android:background="@color/bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<include layout="@layout/layout_statusbar"
|
||||
android:id="@+id/statusbar_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
/>
|
||||
<include layout="@layout/layout_rect_group1"
|
||||
android:id="@+id/rect_group_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
<include layout="@layout/layout_shortcut"
|
||||
android:id="@+id/shortcut_layout"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="101dp"/>
|
||||
<FrameLayout
|
||||
android:id="@+id/ad_full_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
|
||||
37
app/src/main/res/layout-sw720dp/multi_layout.xml
Normal file
37
app/src/main/res/layout-sw720dp/multi_layout.xml
Normal file
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/layout_rect_group"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/multi_inside"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
>
|
||||
<ImageView
|
||||
android:id="@+id/img_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true"/>
|
||||
<androidx.media3.ui.PlayerView
|
||||
android:id="@+id/player_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true"
|
||||
android:background="@android:color/black"
|
||||
android:visibility="gone"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/tx_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="71dp"
|
||||
android:background="@drawable/item_text_bg"
|
||||
android:textSize="20sp"
|
||||
android:paddingLeft="21dp"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingBottom="26dp"
|
||||
android:gravity="left"
|
||||
android:textColor="@color/btn_text_color"/>
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
Reference in New Issue
Block a user