<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
android:id="@+id/buttonLayout"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center">
|
|
<Switch
|
android:id="@+id/buttonDouyin"
|
android:layout_width="0dp"
|
android:layout_height="48dp"
|
android:layout_weight="1"
|
android:checked="true"
|
android:background="@drawable/switch_border"
|
android:text="@string/msg_douyin" />
|
|
<Switch
|
android:id="@+id/buttonKuaishou"
|
android:layout_width="0dp"
|
android:layout_height="48dp"
|
android:layout_weight="1"
|
android:checked="true"
|
android:background="@drawable/switch_border"
|
android:text="@string/msg_kuaishou" />
|
|
<Switch
|
android:id="@+id/buttonShipinHao"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="48dp"
|
android:checked="true"
|
android:background="@drawable/switch_border"
|
android:text="@string/msg_shipinhao"/>
|
<Switch
|
android:id="@+id/buttonXiaohongshu"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="48dp"
|
android:text="@string/msg_xiaohongshu"
|
android:background="@drawable/switch_border"
|
android:enabled="false"/>
|
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center">
|
|
<Switch
|
android:id="@+id/buttonYoutube"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="48dp"
|
android:background="@drawable/switch_border"
|
android:text="@string/msg_youtube"
|
android:enabled="false"/>
|
|
<Switch
|
android:id="@+id/buttonTiktok"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="48dp"
|
android:background="@drawable/switch_border"
|
android:text="@string/msg_tiktok"
|
android:enabled="false"/>
|
|
</LinearLayout>
|
</LinearLayout>
|
|
<Button
|
android:id="@+id/buttonFetch"
|
android:layout_width="match_parent"
|
android:layout_height="48dp"
|
android:background="@color/teal_200"
|
android:text="@string/msg_FTECH_TASKS" />
|
|
<!--
|
<WebView
|
android:id="@+id/webView"
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="1" />
|
-->
|
<com.shsening.autouploadvideos.CustomWebView
|
android:id="@+id/customWebView"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_weight="1" />
|
</LinearLayout>
|