全志Launcher代码首次提交
5
app/src/main/res/anim/anim_alpha_show.xml
Normal 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>
|
||||
BIN
app/src/main/res/drawable-hdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
app/src/main/res/drawable-ldpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
app/src/main/res/drawable/app.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
6
app/src/main/res/drawable/app_border.xml
Normal 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>
|
||||
5
app/src/main/res/drawable/app_info_bg.xml
Normal 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>
|
||||
6
app/src/main/res/drawable/app_info_border.xml
Normal 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>
|
||||
5
app/src/main/res/drawable/app_item_bg.xml
Normal 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>
|
||||
6
app/src/main/res/drawable/app_item_border.xml
Normal 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>
|
||||
5
app/src/main/res/drawable/app_item_select.xml
Normal 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>
|
||||
BIN
app/src/main/res/drawable/bg.webp
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
app/src/main/res/drawable/frag_bg.webp
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
app/src/main/res/drawable/frame.9.png
Normal file
|
After Width: | Height: | Size: 93 B |
BIN
app/src/main/res/drawable/img_chrome.webp
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
app/src/main/res/drawable/img_filemanager.webp
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
app/src/main/res/drawable/img_hbomax.webp
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
app/src/main/res/drawable/img_miracastreceive.webp
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
BIN
app/src/main/res/drawable/img_music.webp
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
app/src/main/res/drawable/img_netflix.webp
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
app/src/main/res/drawable/img_primevideo.webp
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
app/src/main/res/drawable/img_recommend.webp
Normal file
|
After Width: | Height: | Size: 7.8 KiB |
BIN
app/src/main/res/drawable/img_setting.webp
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
app/src/main/res/drawable/img_status_ethernet.png
Normal file
|
After Width: | Height: | Size: 924 B |
BIN
app/src/main/res/drawable/img_status_sdcard.png
Normal file
|
After Width: | Height: | Size: 840 B |
BIN
app/src/main/res/drawable/img_status_usb.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
app/src/main/res/drawable/img_video.webp
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
app/src/main/res/drawable/img_youtube.webp
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
app/src/main/res/drawable/item_add_img.png
Normal file
|
After Width: | Height: | Size: 498 B |
BIN
app/src/main/res/drawable/item_child_1.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
app/src/main/res/drawable/item_child_2.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
app/src/main/res/drawable/item_child_3.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
app/src/main/res/drawable/item_child_4.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
app/src/main/res/drawable/item_child_5.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
app/src/main/res/drawable/item_child_6.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
app/src/main/res/drawable/item_img_add.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
app/src/main/res/drawable/item_img_apps.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
app/src/main/res/drawable/item_img_sel.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
9
app/src/main/res/drawable/item_text_bg.xml
Normal 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>
|
||||
BIN
app/src/main/res/drawable/line.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
app/src/main/res/drawable/local.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
app/src/main/res/drawable/music.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
app/src/main/res/drawable/recommend.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
app/src/main/res/drawable/tab_apps_normal.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
app/src/main/res/drawable/tab_apps_select.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
4
app/src/main/res/drawable/tab_apps_selector.xml
Normal 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>
|
||||
14
app/src/main/res/drawable/tab_bg_selector.xml
Normal 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>
|
||||
BIN
app/src/main/res/drawable/tab_local_normal.png
Normal file
|
After Width: | Height: | Size: 977 B |
BIN
app/src/main/res/drawable/tab_local_select.png
Normal file
|
After Width: | Height: | Size: 911 B |
4
app/src/main/res/drawable/tab_local_selector.xml
Normal 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>
|
||||
BIN
app/src/main/res/drawable/tab_music_normal.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
app/src/main/res/drawable/tab_music_select.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
4
app/src/main/res/drawable/tab_music_selector.xml
Normal 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>
|
||||
BIN
app/src/main/res/drawable/tab_recommend_normal.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
app/src/main/res/drawable/tab_recommend_select.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
4
app/src/main/res/drawable/tab_recommend_selector.xml
Normal 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>
|
||||
BIN
app/src/main/res/drawable/tab_video_normal.png
Normal file
|
After Width: | Height: | Size: 674 B |
BIN
app/src/main/res/drawable/tab_video_select.png
Normal file
|
After Width: | Height: | Size: 689 B |
4
app/src/main/res/drawable/tab_video_selector.xml
Normal 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>
|
||||
BIN
app/src/main/res/drawable/video.png
Normal file
|
After Width: | Height: | Size: 965 B |
BIN
app/src/main/res/drawable/wifi1.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
app/src/main/res/drawable/wifi2.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
app/src/main/res/drawable/wifi3.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
app/src/main/res/drawable/wifi4.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
app/src/main/res/drawable/wifi5.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
35
app/src/main/res/layout-sw480dp/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="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>
|
||||
42
app/src/main/res/layout-sw480dp/add_apps_grid_item.xml
Normal 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>
|
||||
58
app/src/main/res/layout-sw480dp/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="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>
|
||||
33
app/src/main/res/layout-sw480dp/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="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>
|
||||
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>
|
||||
12
app/src/main/res/layout-sw480dp/homelist_item.xml
Normal 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>
|
||||
146
app/src/main/res/layout-sw480dp/layout_category_app.xml
Normal 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>
|
||||
|
||||
22
app/src/main/res/layout-sw480dp/layout_custom_apps1.xml
Normal 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>
|
||||
145
app/src/main/res/layout-sw480dp/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="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>
|
||||
21
app/src/main/res/layout-sw480dp/layout_shortcut.xml
Normal 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>
|
||||
|
||||
39
app/src/main/res/layout-sw480dp/layout_statusbar.xml
Normal 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>
|
||||
|
||||
49
app/src/main/res/layout-sw480dp/main.xml
Normal 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>
|
||||
|
||||
|
||||
|
||||
37
app/src/main/res/layout-sw480dp/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="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>
|
||||
35
app/src/main/res/layout-sw540dp/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="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>
|
||||
44
app/src/main/res/layout-sw540dp/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="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>
|
||||
57
app/src/main/res/layout-sw540dp/apps_grid_item.xml
Normal 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>
|
||||
34
app/src/main/res/layout-sw540dp/childgrid_item.xml
Normal 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>
|
||||
20
app/src/main/res/layout-sw540dp/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="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>
|
||||
12
app/src/main/res/layout-sw540dp/homelist_item.xml
Normal 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>
|
||||
147
app/src/main/res/layout-sw540dp/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="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>
|
||||
|
||||
19
app/src/main/res/layout-sw540dp/layout_custom_apps1.xml
Normal 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>
|
||||
145
app/src/main/res/layout-sw540dp/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="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>
|
||||
20
app/src/main/res/layout-sw540dp/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="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>
|
||||
|
||||
33
app/src/main/res/layout-sw540dp/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="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>
|
||||
|
||||
51
app/src/main/res/layout-sw540dp/main.xml
Normal 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>
|
||||
|
||||
|
||||
|
||||
36
app/src/main/res/layout-sw540dp/multi_layout.xml
Normal 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>
|
||||
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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>
|
||||
|
||||