全志Launcher代码首次提交

This commit is contained in:
2025-11-05 21:08:38 +08:00
commit 578f5739bf
299 changed files with 26334 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<alpha android:fromAlpha="0.0" android:toAlpha="1.0"
android:duration="300"/>
</set>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/app_info_add_bg"/>
<stroke android:width="3dp" android:color="@android:color/white"/>
<corners android:radius="25dp"/>
</shape>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/app_info_add_bg"/>
<corners android:radius="25dp"/>
</shape>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/app_info_add_bg"/>
<stroke android:width="2dp" android:color="@android:color/white"/>
<corners android:radius="9dp"/>
</shape>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/app_info_add_bg"/>
<corners android:radius="9dp"/>
</shape>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@android:color/white"/>
<stroke android:width="4dp" android:color="@android:color/white"/>
<corners android:radius="20dp"/>
</shape>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@android:color/white"/>
<stroke android:width="2dp" android:color="@android:color/white"/>
</shape>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 924 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 840 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 498 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -0,0 +1,9 @@
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle">
<gradient android:startColor="#aa000000"
android:endColor="#00000000"
android:angle="270"/>
</shape>
</item>
</layer-list>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1,4 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/tab_apps_select" android:state_selected="true"/>
<item android:drawable="@drawable/tab_apps_normal"/>
</selector>

View File

@@ -0,0 +1,14 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_selected="true">
<shape>
<solid android:color="@color/tab_item_select_bg"/>
<corners android:radius="400dp"/>
</shape>
</item>
<item>
<shape>
<solid android:color="@color/tab_item_bg"/>
<corners android:radius="400dp"/>
</shape>
</item>
</selector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 977 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

View File

@@ -0,0 +1,4 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/tab_local_select" android:state_selected="true"/>
<item android:drawable="@drawable/tab_local_normal"/>
</selector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1,4 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/tab_music_select" android:state_selected="true"/>
<item android:drawable="@drawable/tab_music_normal"/>
</selector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1,4 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/tab_recommend_select" android:state_selected="true"/>
<item android:drawable="@drawable/tab_recommend_normal"/>
</selector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 674 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 689 B

View File

@@ -0,0 +1,4 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/tab_video_select" android:state_selected="true"/>
<item android:drawable="@drawable/tab_video_normal"/>
</selector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 965 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View 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="47dp"
android:background="@drawable/item_text_bg"
android:textSize="13sp"
android:paddingStart="14dp"
android:paddingTop="10dp"
android:paddingBottom="17dp"
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>

View File

@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="100dp"
android:layout_height="100dp"
android:focusable="true"
android:padding="5dp"
android:descendantFocusability="beforeDescendants">
<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="53dp"
android:layout_centerInParent="true"
android:layout_height="53dp">
</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="13dp"
android:layout_marginVertical="5dp"
android:layout_alignParentBottom="true"
android:textColor="@color/item_text_color"
/>
</RelativeLayout>
<ImageView
android:layout_height="wrap_content"
android:id="@+id/item_sel"
android:layout_width="wrap_content"
android:layout_alignParentEnd="true">
</ImageView>
</RelativeLayout>

View 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="93dp"
android:layout_height="98dp"
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="48dp"
android:layout_centerHorizontal="true"
android:layout_marginTop="18dp"
android:layout_height="48dp">
</ImageView>
<ImageView
android:id="@+id/img_add"
android:layout_width="28dp"
android:src="@drawable/item_add_img"
android:layout_marginTop="28dp"
android:layout_centerHorizontal="true"
android:layout_height="28dp">
</ImageView>
<TextView
android:id="@+id/item_name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingStart="6dp"
android:paddingEnd="6dp"
android:layout_centerHorizontal="true"
android:gravity="center"
android:singleLine="true"
android:marqueeRepeatLimit="marquee_forever"
android:ellipsize="marquee"
android:textSize="14sp"
android:layout_marginVertical="9dp"
android:layout_alignParentBottom="true"
android:textColor="@color/item_text_color"
/>
</RelativeLayout>
<ImageView
android:layout_height="16dp"
android:id="@+id/item_sel"
android:layout_width="16dp"
android:layout_marginEnd="4dp"
android:layout_marginTop="4dp"
android:layout_alignParentEnd="true">
</ImageView>
</RelativeLayout>

View 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="93dp"
android:layout_height="98dp"
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="48dp"
android:layout_centerHorizontal="true"
android:layout_marginTop="18dp"
android:layout_height="48dp"/>
<TextView
android:id="@+id/item_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="6dp"
android:paddingEnd="6dp"
android:layout_centerHorizontal="true"
android:gravity="center"
android:singleLine="true"
android:ellipsize="marquee"
android:textSize="14sp"
android:layout_marginVertical="6dp"
android:layout_alignParentBottom="true"
android:textColor="@color/item_text_color"
/>
</com.ik.mboxlauncher.view.MyRelativeLayout>

View 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>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="40dp"
android:layout_height="40dp"
>
<ImageView
android:id="@+id/item_type"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
</ImageView>
</RelativeLayout>

View File

@@ -0,0 +1,146 @@
<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="200dp"
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="91dp"
android:layout_marginTop="27dp"
android:layout_alignParentTop="true"
android:gravity="bottom"
android:orientation="horizontal">
<ImageView
android:id="@+id/img_logo"
android:layout_width="44dp"
android:layout_height="44dp"
android:src="@drawable/video"
/>
<TextView
android:id="@+id/tv_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="5dp"
android:layout_marginBottom="3dp"
android:gravity="bottom"
android:text="@string/str_video"
android:textSize="16dp" />
</LinearLayout>
<RelativeLayout
android:id="@+id/bottom_layout"
android:layout_width="wrap_content"
android:layout_height="53dp"
android:layout_alignParentBottom="true"
android:layout_marginBottom="14dp"
android:gravity="center_horizontal">
<View
android:layout_width="match_parent"
android:layout_height="2dp"
android:layout_marginStart="98dp"
android:layout_marginEnd="98dp"
android:layout_alignParentTop="true"
android:background="@drawable/line" />
<ImageView
android:id="@+id/img_tab_apps"
android:layout_width="44dp"
android:layout_height="44dp"
android:layout_marginTop="8dp"
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="44dp"
android:layout_height="44dp"
android:layout_marginStart="4dp"
android:layout_marginTop="8dp"
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="44dp"
android:layout_height="44dp"
android:layout_marginStart="4dp"
android:layout_marginTop="8dp"
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="44dp"
android:layout_height="44dp"
android:layout_marginStart="4dp"
android:layout_marginTop="8dp"
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="84dp"
android:paddingEnd="84dp"
android:paddingTop="7dp"
android:paddingBottom="7dp"
android:clipToPadding="false"
android:clipChildren="false"
app:itemOffsets="6dp"
android:layout_centerHorizontal="true"
android:descendantFocusability="afterDescendants"/>
</RelativeLayout>
</RelativeLayout>
</RelativeLayout>

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:descendantFocusability="afterDescendants"
android:focusable="true"
android:background="@drawable/bg">
<com.ik.mboxlauncher.view.CustomRecyclerView
android:id="@+id/grid_coustom_apps"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="10dp"
android:layout_marginEnd="10dp"
android:layout_centerHorizontal="true"
android:layout_alignParentTop="true"
android:descendantFocusability="afterDescendants"/>
</LinearLayout>

View 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="139dp"
android:layout_height="241dp"
android:focusable="true"
android:focusableInTouchMode="true"
android:layout_marginTop="53dp"
android:layout_marginStart="64dp"
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="139dp"
android:layout_height="117dp"
android:layout_marginStart="211dp"
android:layout_marginTop="53dp"
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="285dp"
android:layout_height="117dp"
android:layout_marginStart="357dp"
android:layout_marginTop="53dp"
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="139dp"
android:layout_height="241dp"
android:layout_marginStart="651dp"
android:layout_marginTop="53dp"
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="139dp"
android:layout_height="117dp"
android:layout_marginStart="211dp"
android:layout_marginTop="177dp"
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="139dp"
android:layout_height="117dp"
android:layout_marginTop="177dp"
android:layout_marginStart="357dp"
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="139dp"
android:layout_height="117dp"
android:layout_marginStart="504dp"
android:layout_marginTop="177dp"
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="285dp"
android:layout_height="117dp"
android:layout_marginStart="64dp"
android:layout_marginTop="302dp"
app:adMultiViewImage="@drawable/img_miracastreceive"
android:focusableInTouchMode="true"
android:descendantFocusability="beforeDescendants"
/>
<com.ik.mboxlauncher.view.HomeMultiView
android:id="@+id/layout_chrome"
android:layout_width="139dp"
android:layout_height="117dp"
android:layout_marginStart="355dp"
android:layout_marginTop="302dp"
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="139dp"
android:layout_height="117dp"
android:layout_marginStart="502dp"
android:layout_marginTop="302dp"
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="139dp"
android:layout_height="117dp"
android:layout_marginStart="651dp"
android:layout_marginTop="302dp"
android:focusable="true"
android:focusableInTouchMode="true"
app:multiViewImage="@drawable/img_setting"
android:descendantFocusability="beforeDescendants"
/>
</RelativeLayout>

View File

@@ -0,0 +1,21 @@
<?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="match_parent"
android:gravity="center_vertical"
>
<com.ik.mboxlauncher.view.CustomRecyclerView
android:id="@+id/gv_shortcut"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:columnCount="11"
android:rowCount="1"
android:descendantFocusability="afterDescendants"
android:layout_marginStart="88dp"
/>
</RelativeLayout>

View File

@@ -0,0 +1,39 @@
<?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="match_parent"
android:gravity="bottom"
android:paddingStart="70dp"
android:paddingEnd="70dp"
android:descendantFocusability="blocksDescendants">
<GridView
android:id="@+id/list_status"
android:scrollbars="none"
android:drawSelectorOnTop="false"
android:verticalSpacing="0dip"
android:horizontalSpacing="0dip"
android:numColumns="5"
android:fadingEdgeLength="48dip"
android:cacheColorHint="#00000000"
android:layout_width="200dp"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:paddingTop="0dp"
android:paddingBottom="0dp"
android:paddingStart="0dp"
android:paddingEnd="0dp"
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="20dp"
android:layout_alignParentEnd="true"
android:textSize="16dp" />
</RelativeLayout>

View File

@@ -0,0 +1,49 @@
<?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="299dp"
android:visibility="gone"
android:layout_marginTop="82dp"
android:layout_marginBottom="99dp"/>
<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: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="67dp"/>
<FrameLayout
android:id="@+id/ad_full_root"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone"/>
</RelativeLayout>

View 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="47dp"
android:background="@drawable/item_text_bg"
android:textSize="13sp"
android:paddingStart="14dp"
android:paddingTop="10dp"
android:paddingBottom="17dp"
android:gravity="left"
android:textColor="@color/btn_text_color"/>
</RelativeLayout>
</RelativeLayout>

View 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="53dp"
android:background="@drawable/item_text_bg"
android:textSize="15sp"
android:paddingStart="16dp"
android:paddingTop="12dp"
android:paddingBottom="19dp"
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>

View 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="94dp"
android:layout_height="99dp"
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="60dp"
android:layout_centerInParent="true"
android:layout_height="60dp">
</ImageView>
<TextView
android:id="@+id/item_name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingStart="7dp"
android:paddingEnd="7dp"
android:layout_centerHorizontal="true"
android:gravity="center"
android:singleLine="true"
android:marqueeRepeatLimit="marquee_forever"
android:ellipsize="marquee"
android:textSize="11sp"
android:layout_marginVertical="2dp"
android:layout_alignParentBottom="true"
android:textColor="@color/item_text_color"
/>
</RelativeLayout>
<ImageView
android:layout_height="20dp"
android:id="@+id/item_sel"
android:layout_width="20dp"
android:layout_marginEnd="5dp"
android:layout_marginTop="5dp"
android:layout_alignParentEnd="true">
</ImageView>
</RelativeLayout>

View File

@@ -0,0 +1,57 @@
<?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="105dp"
android:layout_height="110dp"
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="54dp"
android:layout_centerHorizontal="true"
android:layout_marginTop="20dp"
android:layout_height="54dp"/>
<ImageView
android:id="@+id/img_add"
android:layout_width="32dp"
android:src="@drawable/item_add_img"
android:layout_marginTop="32dp"
android:layout_centerHorizontal="true"
android:layout_height="32dp">
</ImageView>
<TextView
android:id="@+id/item_name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingStart="7dp"
android:paddingEnd="7dp"
android:layout_centerHorizontal="true"
android:gravity="center"
android:singleLine="true"
android:marqueeRepeatLimit="marquee_forever"
android:ellipsize="marquee"
android:textSize="16sp"
android:layout_marginVertical="10dp"
android:layout_alignParentBottom="true"
android:textColor="@color/item_text_color"
/>
</RelativeLayout>
<ImageView
android:layout_height="18dp"
android:id="@+id/item_sel"
android:layout_width="18dp"
android:layout_marginEnd="5dp"
android:layout_marginTop="5dp"
android:layout_alignParentEnd="true">
</ImageView>
</RelativeLayout>

View File

@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<com.ik.mboxlauncher.view.MyRelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="105dp"
android:layout_height="110dp"
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="54dp"
android:layout_centerHorizontal="true"
android:layout_marginTop="20dp"
android:layout_height="54dp"/>
<TextView
android:id="@+id/item_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="7dp"
android:paddingEnd="7dp"
android:layout_centerHorizontal="true"
android:gravity="center"
android:singleLine="true"
android:marqueeRepeatLimit="marquee_forever"
android:ellipsize="marquee"
android:textSize="16sp"
android:layout_marginVertical="10dp"
android:layout_alignParentBottom="true"
android:textColor="@color/item_text_color"
/>
</com.ik.mboxlauncher.view.MyRelativeLayout>

View 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="15dp"
android:background="@drawable/app_item_bg"
android:layout_width="38dp"
android:layout_height="38dp">
<ImageView
android:id="@+id/item_bg"
android:layout_height="match_parent"
android:layout_width="match_parent"/>
</RelativeLayout>
</RelativeLayout>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="38dp"
android:layout_height="38dp"
>
<ImageView
android:id="@+id/item_type"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
</ImageView>
</RelativeLayout>

View 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="225dp"
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="52dp"
android:layout_marginStart="112dp"
android:layout_marginEnd="75dp"
android:layout_marginTop="7dp"
android:layout_alignParentTop="true"
android:gravity="bottom"
android:orientation="horizontal">
<ImageView
android:id="@+id/img_logo"
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@drawable/video"
/>
<TextView
android:id="@+id/tv_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:layout_marginBottom="4dp"
android:gravity="bottom"
android:text="@string/str_video"
android:textSize="18dp" />
</LinearLayout>
<RelativeLayout
android:id="@+id/bottom_layout"
android:layout_width="wrap_content"
android:layout_height="60dp"
android:layout_alignParentBottom="true"
android:layout_marginBottom="16dp"
android:gravity="center_horizontal">
<View
android:layout_width="match_parent"
android:layout_height="3dp"
android:layout_marginStart="111dp"
android:layout_marginEnd="111dp"
android:layout_alignParentTop="true"
android:background="@drawable/line" />
<ImageView
android:id="@+id/img_tab_apps"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_marginTop="9dp"
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="50dp"
android:layout_height="50dp"
android:layout_marginStart="5dp"
android:layout_marginEnd="5dp"
android:layout_marginTop="9dp"
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="50dp"
android:layout_height="50dp"
android:layout_marginStart="5dp"
android:layout_marginTop="9dp"
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="50dp"
android:layout_height="50dp"
android:layout_marginStart="5dp"
android:layout_marginTop="9dp"
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="50dp"
android:layout_height="50dp"
android:layout_marginStart="5dp"
android:layout_marginTop="9dp"
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="112dp"
android:paddingEnd="112dp"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:clipToPadding="false"
android:clipChildren="false"
app:itemOffsets="8dp"
android:layout_centerHorizontal="true"
android:descendantFocusability="afterDescendants"/>
</RelativeLayout>
</RelativeLayout>
</RelativeLayout>

View File

@@ -0,0 +1,19 @@
<?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="12dp"
android:paddingLeft="3dp"
android:paddingRight="3dp"
android:clipChildren="false"
android:clipToPadding="false"
android:layout_centerHorizontal="true"
android:layout_alignParentTop="true"
android:descendantFocusability="afterDescendants" />
</RelativeLayout>

View 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="156dp"
android:layout_height="272dp"
android:focusable="true"
android:focusableInTouchMode="true"
android:layout_marginTop="59dp"
android:layout_marginStart="72dp"
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="156dp"
android:layout_height="131dp"
android:layout_marginStart="237dp"
android:layout_marginTop="59dp"
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="321dp"
android:layout_height="131dp"
android:layout_marginStart="402dp"
android:layout_marginTop="59dp"
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="156dp"
android:layout_height="272dp"
android:layout_marginStart="732dp"
android:layout_marginTop="59dp"
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="156dp"
android:layout_height="131dp"
android:layout_marginStart="237dp"
android:layout_marginTop="199dp"
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="156dp"
android:layout_height="131dp"
android:layout_marginTop="199dp"
android:layout_marginStart="402dp"
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="156dp"
android:layout_height="131dp"
android:layout_marginStart="567dp"
android:layout_marginTop="199dp"
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="321dp"
android:layout_height="131dp"
android:layout_marginStart="72dp"
android:layout_marginTop="339dp"
app:adMultiViewImage="@drawable/img_miracastreceive"
android:focusableInTouchMode="true"
android:descendantFocusability="beforeDescendants"
/>
<com.ik.mboxlauncher.view.HomeMultiView
android:id="@+id/layout_chrome"
android:layout_width="156dp"
android:layout_height="131dp"
android:layout_marginStart="399dp"
android:layout_marginTop="339dp"
android:focusable="true"
android:focusableInTouchMode="true"
app:adMultiViewImage="@drawable/img_chrome"
android:descendantFocusability="beforeDescendants"
/>
<com.ik.mboxlauncher.view.HomeMultiView
android:id="@+id/layout_hbomax"
android:layout_width="156dp"
android:layout_height="131dp"
android:layout_marginStart="565dp"
android:layout_marginTop="339dp"
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="156dp"
android:layout_height="131dp"
android:layout_marginStart="732dp"
android:layout_marginTop="339dp"
android:focusable="true"
android:focusableInTouchMode="true"
app:multiViewImage="@drawable/img_setting"
android:descendantFocusability="beforeDescendants"
/>
</RelativeLayout>

View 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="75dp"
>
<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>

View 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="79dp"
android:paddingEnd="79dp"
android:background="@color/bg"
android:descendantFocusability="blocksDescendants">
<GridView
android:id="@+id/list_status"
android:scrollbars="none"
android:layout_marginTop="10dp"
android:numColumns="5"
android:cacheColorHint="#00000000"
android:layout_width="225dp"
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="25dp"
android:layout_alignParentEnd="true"
android:textSize="15dp" />
</RelativeLayout>

View File

@@ -0,0 +1,51 @@
<?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="@color/bg"
android:descendantFocusability="afterDescendants">
<include layout="@layout/layout_custom_apps1"
android:id="@+id/coustom_view"
android:layout_width="match_parent"
android:layout_height="337dp"
android:visibility="gone"
android:layout_marginTop="92dp"
android:layout_marginBottom="111dp"/>
<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_alignParentRight="true"
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="76dp"/>
<FrameLayout
android:id="@+id/ad_full_root"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone"/>
</RelativeLayout>

View File

@@ -0,0 +1,36 @@
<?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:visibility="gone"
/>
<TextView
android:id="@+id/tx_view"
android:layout_width="match_parent"
android:layout_height="53dp"
android:background="@drawable/item_text_bg"
android:textSize="15sp"
android:paddingLeft="16dp"
android:paddingTop="12dp"
android:paddingBottom="25dp"
android:gravity="left"
android:textColor="@color/btn_text_color"/>
</RelativeLayout>
</RelativeLayout>

View 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>

View 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>

View 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>

View 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>

View 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>

View 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>

View 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>

View 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>

View 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>

View 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>

Some files were not shown because too many files have changed in this diff Show More