第一次提交
This commit is contained in:
88
uikit/src/main/res/layout/activity_privates_dialog.xml
Normal file
88
uikit/src/main/res/layout/activity_privates_dialog.xml
Normal file
@@ -0,0 +1,88 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout 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:orientation="vertical"
|
||||
tools:viewBindingIgnore="true">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/activity_privetes_dorder"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_sava_dialog_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:gravity="center"
|
||||
android:text="用户协议和隐私协议提示"
|
||||
android:textColor="#333333"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_read_priavate"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="20dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="18dp"
|
||||
android:text="感谢您选择使用私语!"
|
||||
android:textColor="#333333"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_sava_dialog_message"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="18dp"
|
||||
android:text="我们将通过《用户协议》和《隐私政策》,帮助您了解我们为您提供的服务,以及收集、处理个人信息的方式。请您务必仔细并阅读相关协议的全部内容,同意并接受全部条款后开始使用我们的产品和服务。点击“同意”即表示您已阅读并同意全部条款。"
|
||||
android:textColor="#333333"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<Button
|
||||
android:id="@+id/tv_sava_dialog_confirg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="42dp"
|
||||
android:layout_below="@+id/login_menu_layout"
|
||||
android:layout_marginHorizontal="20dp"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:background="@drawable/shape_button_enable"
|
||||
android:text="同意"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_sava_dialog_cancel"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:clickable="true"
|
||||
android:gravity="center"
|
||||
android:text="不同意并退出"
|
||||
android:textColor="#999999"
|
||||
android:textSize="16sp" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
112
uikit/src/main/res/layout/activity_privates_dialogs.xml
Normal file
112
uikit/src/main/res/layout/activity_privates_dialogs.xml
Normal file
@@ -0,0 +1,112 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/activity_privetes_dorder"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_sava_dialog_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="55dp"
|
||||
android:gravity="center"
|
||||
android:text="用户协议和隐私协议提示"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="17sp" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_read_priavate"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center"
|
||||
android:layout_marginBottom="20dp"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_sava_dialog_message"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="请同意《私语用户协议》和《私语隐私政策》"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="13sp" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/base_message_two_button_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginBottom="10dp"
|
||||
>
|
||||
|
||||
<Button
|
||||
android:id="@+id/tv_sava_dialog_cancel"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/muna_base_dialog_cancel_btn_bg"
|
||||
android:text="取消"
|
||||
android:textColor="#bababa"
|
||||
android:textSize="@dimen/base_dialog_button_text_size"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/tv_sava_dialog_confirg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/muna_base_dialog_confirm_btn_bg"
|
||||
android:text="确定"
|
||||
android:textColor="@color/mainColor"
|
||||
android:textSize="@dimen/base_dialog_button_text_size"/>
|
||||
</LinearLayout>
|
||||
<!-- <LinearLayout-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:layout_height="wrap_content"-->
|
||||
<!-- android:layout_marginBottom="20dp"-->
|
||||
<!-- android:orientation="horizontal">-->
|
||||
|
||||
<!-- <TextView-->
|
||||
<!-- android:id="@+id/tv_sava_dialog_cancel"-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:layout_height="48dp"-->
|
||||
<!-- android:layout_marginHorizontal="20dp"-->
|
||||
<!-- android:layout_weight="1"-->
|
||||
<!-- android:clickable="true"-->
|
||||
<!-- android:gravity="center"-->
|
||||
<!-- android:text="取消"-->
|
||||
<!-- android:textColor="#bababa"-->
|
||||
<!-- android:textSize="17sp" />-->
|
||||
|
||||
<!-- <View-->
|
||||
<!-- android:layout_width="1dp"-->
|
||||
<!-- android:layout_height="match_parent"-->
|
||||
<!-- android:background="#a1a1a1" />-->
|
||||
|
||||
<!-- <TextView-->
|
||||
<!-- android:id="@+id/tv_sava_dialog_confirg"-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:layout_height="48dp"-->
|
||||
<!-- android:layout_below="@+id/login_menu_layout"-->
|
||||
<!-- android:layout_marginHorizontal="20dp"-->
|
||||
<!-- android:layout_weight="1"-->
|
||||
<!-- android:gravity="center"-->
|
||||
<!-- android:text="同意"-->
|
||||
<!-- android:textColor="@color/black"-->
|
||||
<!-- android:textSize="17sp" />-->
|
||||
|
||||
<!-- </LinearLayout>-->
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
32
uikit/src/main/res/layout/ad_pager_board.xml
Normal file
32
uikit/src/main/res/layout/ad_pager_board.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/pager_view"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:background="@color/cp_color_gray_light"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:layout_height="wrap_content">
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="2px"
|
||||
android:background="@color/bottomCuttingLine"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
<androidx.viewpager.widget.ViewPager
|
||||
android:id="@+id/ad_pager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="140dp">
|
||||
</androidx.viewpager.widget.ViewPager>
|
||||
<LinearLayout
|
||||
android:id="@+id/view_group"
|
||||
android:layout_below="@+id/ad_pager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal"/>
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
108
uikit/src/main/res/layout/bottom_edit.xml
Normal file
108
uikit/src/main/res/layout/bottom_edit.xml
Normal file
@@ -0,0 +1,108 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@android:color/white"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:id="@+id/edit_layout">
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1px"
|
||||
android:background="@color/titleLine"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:background="@android:color/white"
|
||||
android:orientation="horizontal"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/edit_edit_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="17dp"
|
||||
android:layout_marginRight="17dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:focusable="true"
|
||||
android:layout_weight="1">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/edit_edit"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="37.5dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingTop="5dp"
|
||||
android:inputType="textMultiLine"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/black"
|
||||
android:layout_centerVertical="true"
|
||||
android:singleLine="true"
|
||||
android:paddingRight="5dp"
|
||||
android:hint="请输入信息"
|
||||
android:background="@drawable/shape_edit_text"
|
||||
android:layout_toLeftOf="@+id/eidt_submit_button"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/eidt_submit_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="37.5dp"
|
||||
android:text="发送"
|
||||
android:textSize="15sp"
|
||||
android:textColor="@android:color/white"
|
||||
android:background="@drawable/shape_audio_button"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="5dp"
|
||||
android:layout_marginLeft="5dp"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/edit_functional_bottom"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:gravity="center_vertical"
|
||||
android:weightSum="4"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:id="@+id/edit_image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:src="@drawable/ic_news_with3"/>
|
||||
<ImageView
|
||||
android:id="@+id/edit_emoji"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:src="@drawable/ic_news_with4"/>
|
||||
<ImageView
|
||||
android:id="@+id/edit_gift"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:src="@drawable/ic_news_with5"/>
|
||||
<ImageView
|
||||
android:id="@+id/edit_video"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:src="@drawable/ic_news_with6"/>
|
||||
</LinearLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/bottom_fragment_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="229.5dp"
|
||||
android:background="@color/titleLine"
|
||||
android:layout_weight="1" />
|
||||
|
||||
</LinearLayout>
|
||||
19
uikit/src/main/res/layout/bottom_edit_view.xml
Normal file
19
uikit/src/main/res/layout/bottom_edit_view.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout 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"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/detail_fragment_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/titleLine"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<include layout="@layout/bottom_edit" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
44
uikit/src/main/res/layout/bottom_post.xml
Normal file
44
uikit/src/main/res/layout/bottom_post.xml
Normal file
@@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@android:color/white"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:id="@+id/post_layout">
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1px"
|
||||
android:background="@color/bottomCuttingLine"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:background="@android:color/white"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
android:gravity="center_vertical">
|
||||
<ImageView
|
||||
android:id="@+id/bottom_add_photos"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@drawable/ic_news_with4"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:gravity="center"/>
|
||||
<Button
|
||||
android:id="@+id/bottom_post_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="40dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:background="@drawable/shape_audio_button"
|
||||
android:gravity="center"
|
||||
android:text="发布"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@android:color/white"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
26
uikit/src/main/res/layout/bottom_post_view.xml
Normal file
26
uikit/src/main/res/layout/bottom_post_view.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?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"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:orientation="vertical">
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/post_fragment_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1" />
|
||||
</ScrollView>
|
||||
|
||||
|
||||
<include layout="@layout/bottom_post"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_alignParentBottom="true"/>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
187
uikit/src/main/res/layout/bottom_tab.xml
Normal file
187
uikit/src/main/res/layout/bottom_tab.xml
Normal file
@@ -0,0 +1,187 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@android:color/white"
|
||||
android:orientation="vertical"
|
||||
tools:viewBindingIgnore="true">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:background="@android:color/white"
|
||||
android:orientation="vertical">
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="2px"
|
||||
android:background="@color/bottomCuttingLine" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/bottom_tab_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@android:color/white"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/bottom_tab_main_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="7dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/bottom_tab_main_image"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_tab_home1" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bottom_tab_main_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
android:text="首页"
|
||||
android:textColor="@color/zhimi_bottom_text"
|
||||
android:textSize="10sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/bottom_tab_dynamic_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="7dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/bottom_tab_dynamic_image"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_tab_dynamic1" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bottom_tab_dynamic_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
android:text="动态"
|
||||
android:textColor="@color/zhimi_bottom_text"
|
||||
android:textSize="10sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/bottom_tab_live_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="7dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<View
|
||||
android:id="@+id/bottom_tab_live_image"
|
||||
android:layout_width="53dp"
|
||||
android:layout_height="53dp" />
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/bottom_tab_news_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.facebook.drawee.view.SimpleDraweeView
|
||||
android:id="@+id/bottom_tab_news_image"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginTop="7dp"
|
||||
android:src="@drawable/ic_tab_news1"
|
||||
app:roundAsCircle="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bottom_tab_news_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/bottom_tab_news_image"
|
||||
android:layout_alignStart="@+id/bottom_tab_news_image"
|
||||
android:layout_alignEnd="@+id/bottom_tab_news_image"
|
||||
android:layout_marginTop="4dp"
|
||||
android:gravity="center"
|
||||
android:text="消息"
|
||||
android:textColor="@color/zhimi_bottom_text"
|
||||
android:textSize="10sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bottom_tab_news_count"
|
||||
android:layout_width="18dp"
|
||||
android:layout_height="18dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginTop="2dp"
|
||||
android:background="@drawable/shape_red_point"
|
||||
android:gravity="center"
|
||||
android:text="0"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone" />
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/bottom_tab_settings_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="7dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/bottom_tab_settings_image"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_tab_my1" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bottom_tab_settings_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/bottom_tab_settings_image"
|
||||
android:layout_alignStart="@+id/bottom_tab_settings_image"
|
||||
android:layout_alignEnd="@+id/bottom_tab_settings_image"
|
||||
android:layout_marginTop="4dp"
|
||||
android:gravity="center"
|
||||
android:text="我的"
|
||||
android:textColor="@color/zhimi_bottom_text"
|
||||
android:textSize="10sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bottom_tab_settings_count"
|
||||
android:layout_width="12dp"
|
||||
android:layout_height="12dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:background="@drawable/shape_red_point"
|
||||
android:gravity="center"
|
||||
android:text="0"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="8dp"
|
||||
android:visibility="gone" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="2px"
|
||||
android:background="@color/titleLine" />
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
209
uikit/src/main/res/layout/bottom_tab1.xml
Normal file
209
uikit/src/main/res/layout/bottom_tab1.xml
Normal file
@@ -0,0 +1,209 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/titleColor"
|
||||
android:orientation="vertical"
|
||||
tools:viewBindingIgnore="true">
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/bottomCuttingLine" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/bottom_tab_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="52dp"
|
||||
android:background="@color/titleColor"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/bottom_tab_main_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/bottom_tab_main_image"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/ic_tab_home2"
|
||||
app:layout_constraintBottom_toTopOf="@+id/bottom_tab_main_text"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bottom_tab_main_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:text="缘分"
|
||||
android:textColor="@color/zhimi_bottom_text"
|
||||
android:textSize="10dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/bottom_tab_dynamic_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/bottom_tab_dynamic_image"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/ic_tab_dynamic1"
|
||||
app:layout_constraintBottom_toTopOf="@+id/bottom_tab_dynamic_text"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bottom_tab_dynamic_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:text="动态"
|
||||
android:textColor="@color/zhimi_bottom_text"
|
||||
android:textSize="10dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/bottom_tab_live_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/main_fragment_video"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/ic_tab_ranking1"
|
||||
app:layout_constraintBottom_toTopOf="@+id/bottom_tab_ranking_text"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bottom_tab_ranking_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:text="视频"
|
||||
android:textColor="@color/zhimi_bottom_text"
|
||||
android:textSize="10dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/bottom_tab_news_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.facebook.drawee.view.SimpleDraweeView
|
||||
android:id="@+id/bottom_tab_news_image"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
app:layout_constraintBottom_toTopOf="@+id/bottom_tab_news_text"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:placeholderImage="@drawable/ic_tab_news1"
|
||||
app:roundAsCircle="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bottom_tab_news_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/bottom_tab_news_image"
|
||||
android:layout_alignStart="@+id/bottom_tab_news_image"
|
||||
android:layout_alignEnd="@+id/bottom_tab_news_image"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:gravity="center"
|
||||
android:text="消息"
|
||||
android:textColor="@color/zhimi_bottom_text"
|
||||
android:textSize="10dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bottom_tab_news_count"
|
||||
android:layout_width="18dp"
|
||||
android:layout_height="18dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginBottom="14dp"
|
||||
android:background="@drawable/shape_red_point"
|
||||
android:gravity="center"
|
||||
android:text="0"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/bottom_tab_news_image"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/bottom_tab_settings_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bottom_tab_settings_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:text="我的"
|
||||
android:textColor="@color/zhimi_bottom_text"
|
||||
android:textSize="10dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/bottom_tab_settings_image"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:src="@drawable/ic_tab_my1"
|
||||
app:layout_constraintBottom_toTopOf="@+id/bottom_tab_settings_text"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bottom_tab_settings_count"
|
||||
android:layout_width="12dp"
|
||||
android:layout_height="12dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:background="@drawable/shape_red_point"
|
||||
android:gravity="center"
|
||||
android:text="0"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="8dp"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
64
uikit/src/main/res/layout/bottom_tab_view.xml
Normal file
64
uikit/src/main/res/layout/bottom_tab_view.xml
Normal file
@@ -0,0 +1,64 @@
|
||||
<?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/background"
|
||||
android:orientation="vertical"
|
||||
tools:viewBindingIgnore="true">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/main_fragment_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true">
|
||||
|
||||
<include
|
||||
layout="@layout/bottom_tab"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_gravity="bottom" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="56dp"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/bottom_tab_live_bg1"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/main_fragment_video"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:src="@drawable/ic_tab_ranking1" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bottom_tab_ranking_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="榜单"
|
||||
android:textColor="@color/zhimi_bottom_text"
|
||||
android:textSize="10sp" />
|
||||
</RelativeLayout>
|
||||
|
||||
<!--<View-->
|
||||
<!--android:id="@+id/main_fragment_point"-->
|
||||
<!--android:layout_width="6dp"-->
|
||||
<!--android:layout_height="6dp"-->
|
||||
<!--android:layout_gravity="center"-->
|
||||
<!--android:layout_marginRight="2dp"-->
|
||||
<!--android:background="@drawable/shape_video_point"-->
|
||||
<!--android:visibility="gone" />-->
|
||||
</FrameLayout>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
22
uikit/src/main/res/layout/bottom_tab_view1.xml
Normal file
22
uikit/src/main/res/layout/bottom_tab_view1.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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/background"
|
||||
android:orientation="vertical"
|
||||
tools:viewBindingIgnore="true">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/main_fragment_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<include
|
||||
layout="@layout/bottom_tab1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_gravity="bottom" />
|
||||
|
||||
</RelativeLayout>
|
||||
32
uikit/src/main/res/layout/cai_edit_text.xml
Normal file
32
uikit/src/main/res/layout/cai_edit_text.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:gravity="center_vertical">
|
||||
<ImageView
|
||||
android:id="@+id/cai_input_logo"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<com.fengliyan.uikit.editor.AutoDivisionEditText
|
||||
android:id="@+id/cai_edit_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="4"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/editTextColor"
|
||||
android:background="@null"
|
||||
android:textCursorDrawable="@null"/>
|
||||
<ImageView
|
||||
android:id="@+id/cai_function_image"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="40dp"
|
||||
android:padding="5dp"
|
||||
android:layout_marginLeft="6dp"
|
||||
android:layout_weight="0.1" />
|
||||
|
||||
</LinearLayout>
|
||||
42
uikit/src/main/res/layout/cp_dialog_city_picker.xml
Normal file
42
uikit/src/main/res/layout/cp_dialog_city_picker.xml
Normal file
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
<include layout="@layout/cp_search_view" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/cp_city_recyclerview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@android:color/white"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/cp_overlay"
|
||||
android:layout_width="?attr/cpOverlayWidth"
|
||||
android:layout_height="?attr/cpOverlayHeight"
|
||||
android:visibility="gone"
|
||||
android:gravity="center"
|
||||
android:layout_centerInParent="true"
|
||||
android:textSize="?attr/cpOverlayTextSize"
|
||||
android:textColor="?attr/cpOverlayTextColor"
|
||||
android:background="?attr/cpOverlayBackground"/>
|
||||
|
||||
<!--右侧字母导航-->
|
||||
<com.fengliyan.uikit.picker.citypicker.view.SideIndexBar
|
||||
android:id="@+id/cp_side_index_bar"
|
||||
android:layout_width="@dimen/cp_index_bar_width"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"/>
|
||||
|
||||
<include layout="@layout/cp_empty_view"/>
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
32
uikit/src/main/res/layout/cp_empty_view.xml
Normal file
32
uikit/src/main/res/layout/cp_empty_view.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/cp_empty_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:visibility="gone"
|
||||
android:background="@android:color/white"
|
||||
android:gravity="center_horizontal">
|
||||
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="108dp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/cp_no_result_icon"
|
||||
android:layout_width="?attr/cpEmptyIconWidth"
|
||||
android:layout_height="?attr/cpEmptyIconHeight"
|
||||
android:src="?attr/cpEmptyIcon"
|
||||
android:scaleType="fitCenter"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/cp_no_result_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="?attr/cpEmptyText"
|
||||
android:textSize="?attr/cpEmptyTextSize"
|
||||
android:textColor="?attr/cpEmptyTextColor"/>
|
||||
</LinearLayout>
|
||||
20
uikit/src/main/res/layout/cp_grid_item_layout.xml
Normal file
20
uikit/src/main/res/layout/cp_grid_item_layout.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/cp_grid_item_layout"
|
||||
android:layout_width="wrap_content"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:layout_height="?attr/cpListItemHeight"
|
||||
android:foreground="?attr/selectableItemBackground">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/cp_gird_item_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="@dimen/cp_grid_item_padding"
|
||||
android:paddingBottom="@dimen/cp_grid_item_padding"
|
||||
android:gravity="center"
|
||||
android:textSize="?attr/cpListItemTextSize"
|
||||
android:textColor="?attr/cpListItemTextColor"
|
||||
android:background="?attr/cpGridItemBackground"/>
|
||||
</FrameLayout>
|
||||
16
uikit/src/main/res/layout/cp_list_item_default_layout.xml
Normal file
16
uikit/src/main/res/layout/cp_list_item_default_layout.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/cp_list_item_name"
|
||||
android:layout_width="match_parent"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:layout_height="?attr/cpListItemHeight"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingStart="16dp"
|
||||
android:textColor="?attr/cpListItemTextColor"
|
||||
android:textSize="?attr/cpListItemTextSize"
|
||||
tools:ignore="RtlSymmetry" />
|
||||
14
uikit/src/main/res/layout/cp_list_item_hot_layout.xml
Normal file
14
uikit/src/main/res/layout/cp_list_item_hot_layout.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.recyclerview.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/cp_hot_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:overScrollMode="never"
|
||||
android:paddingLeft="16dp"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:paddingBottom="16dp"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingRight="@dimen/cp_index_bar_width"
|
||||
android:paddingEnd="@dimen/cp_index_bar_width"
|
||||
android:paddingStart="16dp" />
|
||||
40
uikit/src/main/res/layout/cp_list_item_location_layout.xml
Normal file
40
uikit/src/main/res/layout/cp_list_item_location_layout.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:padding="16dp">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/cp_list_item_location_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="?attr/cpListItemHeight"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:foreground="?attr/selectableItemBackground"
|
||||
tools:ignore="UselessParent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/cp_list_item_location"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="@dimen/cp_grid_item_padding"
|
||||
android:paddingBottom="@dimen/cp_grid_item_padding"
|
||||
android:gravity="center"
|
||||
android:background="?attr/cpGridItemBackground"
|
||||
android:textSize="?attr/cpListItemTextSize"
|
||||
android:textColor="?attr/cpListItemTextColor"/>
|
||||
</FrameLayout>
|
||||
|
||||
<!--<TextView-->
|
||||
<!--android:text="定位失败"-->
|
||||
<!--android:id="@+id/cp_list_item_location"-->
|
||||
<!--android:layout_width="match_parent"-->
|
||||
<!--android:layout_height="wrap_content"-->
|
||||
<!--android:paddingTop="@dimen/cp_grid_item_padding"-->
|
||||
<!--android:paddingBottom="@dimen/cp_grid_item_padding"-->
|
||||
<!--android:gravity="center"-->
|
||||
<!--/>-->
|
||||
</LinearLayout>
|
||||
56
uikit/src/main/res/layout/cp_search_view.xml
Normal file
56
uikit/src/main/res/layout/cp_search_view.xml
Normal file
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/cp_search_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@android:color/white"
|
||||
android:gravity="center_vertical"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:padding="16dp"
|
||||
tools:showIn="@layout/cp_dialog_city_picker">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/cp_search_box"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@null"
|
||||
android:hint="?attr/cpSearchHintText"
|
||||
android:maxLength="20"
|
||||
android:maxLines="1"
|
||||
android:textCursorDrawable="?attr/cpSearchCursorDrawable"
|
||||
android:textColor="?attr/cpSearchTextColor"
|
||||
android:textColorHint="?attr/cpSearchHintTextColor"
|
||||
android:textSize="?attr/cpSearchTextSize" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/cp_clear_all"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="2dp"
|
||||
android:visibility="gone"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="?attr/cpClearTextIcon" />
|
||||
|
||||
<Space
|
||||
android:layout_width="6dp"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<View
|
||||
android:layout_width="1px"
|
||||
android:layout_height="14dp"
|
||||
android:background="@color/cp_color_gray_light"/>
|
||||
|
||||
<Space
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/cp_cancel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/cp_cancel"
|
||||
android:textColor="?attr/cpCancelTextColor"
|
||||
android:textSize="?attr/cpCancelTextSize" />
|
||||
</LinearLayout>
|
||||
36
uikit/src/main/res/layout/dialog_bottom_video.xml
Normal file
36
uikit/src/main/res/layout/dialog_bottom_video.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:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:background="@android:color/white">
|
||||
<ImageView
|
||||
android:id="@+id/bottom_video_logo"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="46dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:src="@drawable/ic_home_live1"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bottom_video_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="18dp"
|
||||
android:layout_below="@+id/bottom_video_logo"
|
||||
android:text="开始接单"
|
||||
android:textColor="@color/bottomTabTextColor"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/bottom_video_cancel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/bottom_video_text"
|
||||
android:src="@drawable/ic_home_shut"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="46dp"
|
||||
android:layout_marginBottom="27dp"/>
|
||||
|
||||
</RelativeLayout>
|
||||
113
uikit/src/main/res/layout/dialog_gift.xml
Normal file
113
uikit/src/main/res/layout/dialog_gift.xml
Normal file
@@ -0,0 +1,113 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:background="@color/giftBackground"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<androidx.viewpager.widget.ViewPager
|
||||
android:id="@+id/gift_pager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="233dp"></androidx.viewpager.widget.ViewPager>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/gift_view_group"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/ad_pager"
|
||||
android:layout_marginTop="-25px"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal" />
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="2px"
|
||||
android:background="@color/bottomCuttingLine" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="54dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/gift_shell_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/gift_shell_logo"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:src="@drawable/ic_shell" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/gift_shell_number"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_toRightOf="@+id/gift_shell_logo"
|
||||
android:text="16400"
|
||||
android:textColor="#FF58E9"
|
||||
android:textSize="17sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_recharge"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_toRightOf="@+id/gift_shell_number"
|
||||
android:src="@drawable/ic_broadcast_next" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_toRightOf="@+id/iv_recharge"
|
||||
android:text="充值"
|
||||
android:textColor="#FF58E9" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/gift_button"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="41dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="16dp"
|
||||
android:background="@drawable/selector_gift_send"
|
||||
android:text="发送"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="17sp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_give_gift"
|
||||
android:textColor="#fff"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="16dp"
|
||||
android:background="@drawable/shape_give_gift_orange_be"
|
||||
android:paddingBottom="8dp"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="20dp"
|
||||
android:paddingTop="8dp"
|
||||
android:text="赠送"
|
||||
android:textSize="14sp" />
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
28
uikit/src/main/res/layout/dialog_selector.xml
Normal file
28
uikit/src/main/res/layout/dialog_selector.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:background="@null">
|
||||
<LinearLayout
|
||||
android:id="@+id/selector_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginBottom="6dp">
|
||||
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:id="@+id/selector_cancel"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="54dp"
|
||||
android:background="@android:color/white"
|
||||
android:gravity="center"
|
||||
android:text="取消"
|
||||
android:textSize="17dp"
|
||||
android:textColor="@color/bottomTabTextColor"/>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
207
uikit/src/main/res/layout/dialog_share.xml
Normal file
207
uikit/src/main/res/layout/dialog_share.xml
Normal file
@@ -0,0 +1,207 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout 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="@android:color/white"
|
||||
android:orientation="vertical"
|
||||
tools:viewBindingIgnore="true">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="47dp"
|
||||
android:gravity="center"
|
||||
android:text="推荐给好友"
|
||||
android:textColor="@android:color/black"
|
||||
android:textSize="17dp" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="2px"
|
||||
android:background="@color/bottomCuttingLine" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="100dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:weightSum="5">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/share_er"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_share_er" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="6dp"
|
||||
android:text="二维码"
|
||||
android:textColor="@color/bottomTabTextColor"
|
||||
android:textSize="13sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/share_link"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_share_lian" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="6dp"
|
||||
android:text="复制链接"
|
||||
android:textColor="@color/bottomTabTextColor"
|
||||
android:textSize="13sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/share_weixin"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_sign_weixin" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="6dp"
|
||||
android:text="微信"
|
||||
android:textColor="@color/bottomTabTextColor"
|
||||
android:textSize="13sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/share_peng"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_share_peng" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="6dp"
|
||||
android:text="朋友圈"
|
||||
android:textColor="@color/bottomTabTextColor"
|
||||
android:textSize="13sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/share_qq"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_sign_qq" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="6dp"
|
||||
android:text="QQ"
|
||||
android:textColor="@color/bottomTabTextColor"
|
||||
android:textSize="13sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/share_kong"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_share_qqk" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="6dp"
|
||||
android:text="QQ空间"
|
||||
android:textColor="@color/bottomTabTextColor"
|
||||
android:textSize="13sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="100dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone"
|
||||
android:weightSum="10">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/share_weibo"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_sign_weibo" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="6dp"
|
||||
android:text="微博"
|
||||
android:textColor="@color/bottomTabTextColor"
|
||||
android:textSize="13sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
22
uikit/src/main/res/layout/empty_view.xml
Normal file
22
uikit/src/main/res/layout/empty_view.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_air_no"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="25dp"
|
||||
android:text="暂无数据"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/cp_color_gray"/>
|
||||
|
||||
</LinearLayout>
|
||||
37
uikit/src/main/res/layout/fragment_audio.xml
Normal file
37
uikit/src/main/res/layout/fragment_audio.xml
Normal file
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:background="@color/background">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="按住说话"
|
||||
android:textSize="14dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="16.5dp"
|
||||
android:textColor="@color/bottomTabTextColor"/>
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="136dp"
|
||||
android:layout_height="136dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="14dp">
|
||||
<View
|
||||
android:layout_width="136dp"
|
||||
android:layout_height="136dp"
|
||||
android:background="@drawable/shape_audio_button_background"/>
|
||||
<ImageView
|
||||
android:layout_width="124dp"
|
||||
android:layout_height="124dp"
|
||||
android:layout_gravity="center"
|
||||
android:padding="40dp"
|
||||
android:background="@drawable/shape_audio_button"
|
||||
android:src="@drawable/ic_news_with11"/>
|
||||
</FrameLayout>
|
||||
|
||||
</LinearLayout>
|
||||
13
uikit/src/main/res/layout/fragment_emoji.xml
Normal file
13
uikit/src/main/res/layout/fragment_emoji.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:layout_height="wrap_content">
|
||||
<com.fengliyan.uikit.emoji.view.EmoticonPickerView
|
||||
android:id="@+id/emoji_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
</LinearLayout>
|
||||
9
uikit/src/main/res/layout/fragment_gift.xml
Normal file
9
uikit/src/main/res/layout/fragment_gift.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
</LinearLayout>
|
||||
43
uikit/src/main/res/layout/item_gift.xml
Normal file
43
uikit/src/main/res/layout/item_gift.xml
Normal file
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:fresco="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_item"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="6dp"
|
||||
android:paddingBottom="8dp">
|
||||
|
||||
<com.facebook.drawee.view.SimpleDraweeView
|
||||
android:id="@+id/gift_photo"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
fresco:roundAsCircle="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/gift_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text=""
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/gift_cost"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text=""
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="10sp" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
17
uikit/src/main/res/layout/item_gift_board.xml
Normal file
17
uikit/src/main/res/layout/item_gift_board.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:layout_marginLeft="4dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:id="@+id/gift_recycler_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="233dp"
|
||||
android:layout_gravity="center" />
|
||||
|
||||
</LinearLayout>
|
||||
19
uikit/src/main/res/layout/load_more_hint.xml
Normal file
19
uikit/src/main/res/layout/load_more_hint.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:background="@color/background">
|
||||
<TextView
|
||||
android:id="@+id/load_more_text"
|
||||
android:layout_width="match_parent"
|
||||
android:paddingTop="10dp"
|
||||
android:layout_height="100dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:text="正在加载更多内容..."
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/bottomTabTextColor"/>
|
||||
|
||||
</LinearLayout>
|
||||
22
uikit/src/main/res/layout/male_base_dialog_loading.xml
Normal file
22
uikit/src/main/res/layout/male_base_dialog_loading.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:layout_width="100dp"
|
||||
android:layout_height="100dp"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/loading_dialog_image"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/male_loading"/>
|
||||
|
||||
<!--com.malesocial.uikit.dialog.WaitingView
|
||||
android:layout_marginTop="13dp"
|
||||
android:layout_marginBottom="13dp"
|
||||
android:layout_width="28dp"
|
||||
android:layout_height="6dp"/-->
|
||||
|
||||
</LinearLayout>
|
||||
23
uikit/src/main/res/layout/male_base_toast_message.xml
Normal file
23
uikit/src/main/res/layout/male_base_toast_message.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:background="@drawable/shape_base_toast_message_bg"
|
||||
android:gravity="center"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:minHeight="15dp"
|
||||
android:minWidth="150dp"
|
||||
android:orientation="vertical"
|
||||
android:padding="15dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/toast_message_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:includeFontPadding="false"
|
||||
android:text="TextView"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="16sp"/>
|
||||
|
||||
</LinearLayout>
|
||||
36
uikit/src/main/res/layout/male_base_toast_result.xml
Normal file
36
uikit/src/main/res/layout/male_base_toast_result.xml
Normal file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:background="@drawable/shape_base_toast_result_bg"
|
||||
android:gravity="center"
|
||||
android:minHeight="87dp"
|
||||
android:minWidth="104dp"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="22dp"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="20dp"
|
||||
android:paddingTop="26dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/toast_result_image"
|
||||
android:layout_width="38dp"
|
||||
android:layout_height="38dp"
|
||||
android:src="@drawable/male_base_toast_result_success"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/toast_result_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="10dp"
|
||||
android:includeFontPadding="false"
|
||||
android:maxWidth="208dp"
|
||||
android:text=""
|
||||
android:textColor="@color/base_toast_text"
|
||||
android:textSize="16sp"
|
||||
android:visibility="visible"/>
|
||||
|
||||
</LinearLayout>
|
||||
41
uikit/src/main/res/layout/mis_activity_default.xml
Normal file
41
uikit/src/main/res/layout/mis_activity_default.xml
Normal file
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="vertical"
|
||||
android:background="@color/titleColor"
|
||||
android:layout_width="match_parent"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<androidx.appcompat.widget.Toolbar
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/titleColor"
|
||||
android:minHeight="?android:attr/actionBarSize">
|
||||
|
||||
<Button
|
||||
android:id="@+id/commit"
|
||||
android:background="@drawable/shape_title_button"
|
||||
android:minHeight="1dp"
|
||||
android:minWidth="1dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="14sp"
|
||||
android:layout_gravity="right"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</androidx.appcompat.widget.Toolbar>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/image_grid"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
</LinearLayout>
|
||||
46
uikit/src/main/res/layout/mis_cmp_customer_actionbar.xml
Normal file
46
uikit/src/main/res/layout/mis_cmp_customer_actionbar.xml
Normal file
@@ -0,0 +1,46 @@
|
||||
<?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:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:background="#21282C"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/btn_back"
|
||||
android:src="@drawable/mis_btn_back"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<TextView
|
||||
android:text="图片"
|
||||
android:layout_toRightOf="@+id/btn_back"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="20sp"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/commit"
|
||||
android:background="@drawable/mis_action_btn"
|
||||
android:minHeight="1dp"
|
||||
android:minWidth="1dp"
|
||||
android:text="完成"
|
||||
android:layout_marginRight="16dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:textColor="@color/editTextColor"
|
||||
android:textSize="14sp"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</RelativeLayout>
|
||||
44
uikit/src/main/res/layout/mis_fragment_multi_image.xml
Normal file
44
uikit/src/main/res/layout/mis_fragment_multi_image.xml
Normal file
@@ -0,0 +1,44 @@
|
||||
<?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:background="@color/editTextColor"
|
||||
android:layout_width="match_parent"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<GridView
|
||||
android:id="@+id/grid"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:horizontalSpacing="@dimen/mis_space_size"
|
||||
android:verticalSpacing="@dimen/mis_space_size"
|
||||
android:paddingBottom="?android:attr/actionBarSize"
|
||||
android:clipToPadding="false"
|
||||
android:numColumns="3"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:clickable="true"
|
||||
android:id="@+id/footer"
|
||||
android:background="@color/titleColor"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?android:attr/actionBarSize">
|
||||
|
||||
<Button
|
||||
android:id="@+id/category_btn"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:textColor="@color/editTextColor"
|
||||
tools:text="所有图片"
|
||||
android:textSize="16sp"
|
||||
android:gravity="center_vertical"
|
||||
android:background="@null"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
20
uikit/src/main/res/layout/mis_list_item_camera.xml
Normal file
20
uikit/src/main/res/layout/mis_list_item_camera.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.fengliyan.uikit.photopicker.view.SquareFrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:background="#343535"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:drawableTop="@drawable/mis_asy"
|
||||
android:drawablePadding="10dp"
|
||||
android:layout_gravity="center"
|
||||
android:text="@string/mis_tip_take_photo"
|
||||
android:textSize="14sp"
|
||||
android:textColor="#CDCECE"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</com.fengliyan.uikit.photopicker.view.SquareFrameLayout>
|
||||
75
uikit/src/main/res/layout/mis_list_item_folder.xml
Normal file
75
uikit/src/main/res/layout/mis_list_item_folder.xml
Normal file
@@ -0,0 +1,75 @@
|
||||
<?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:paddingTop="10dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:background="@android:color/white"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:id="@+id/cover"
|
||||
tools:src="@drawable/mis_btn_back"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/mis_default_error"
|
||||
android:layout_width="@dimen/mis_folder_cover_size"
|
||||
android:layout_height="@dimen/mis_folder_cover_size" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_toRightOf="@+id/cover"
|
||||
android:layout_toLeftOf="@+id/indicator"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:orientation="vertical"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/name"
|
||||
tools:text="img"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@android:color/black"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/path"
|
||||
tools:text="/sdcard/a/"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#AFAFAF"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="middle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<TextView
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
android:id="@+id/size"
|
||||
tools:text="1张"
|
||||
android:layout_marginTop="5dp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#AFAFAF"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:id="@+id/indicator"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:src="@drawable/mis_default_check"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</RelativeLayout>
|
||||
31
uikit/src/main/res/layout/mis_list_item_image.xml
Normal file
31
uikit/src/main/res/layout/mis_list_item_image.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.fengliyan.uikit.photopicker.view.SquareFrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<com.fengliyan.uikit.photopicker.view.SquaredImageView
|
||||
android:id="@+id/image"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/mis_default_error"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<View
|
||||
android:visibility="gone"
|
||||
android:id="@+id/mask"
|
||||
android:background="#88000000"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/checkmark"
|
||||
android:layout_gravity="top|right"
|
||||
android:layout_marginTop="5.5dp"
|
||||
android:layout_marginRight="5.5dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/mis_btn_unselected"/>
|
||||
|
||||
</com.fengliyan.uikit.photopicker.view.SquareFrameLayout>
|
||||
56
uikit/src/main/res/layout/muna_activity_crop.xml
Normal file
56
uikit/src/main/res/layout/muna_activity_crop.xml
Normal file
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2012 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:id="@+id/mainView">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/mainPanel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" >
|
||||
|
||||
<com.fengliyan.uikit.crop.app.CropView
|
||||
android:id="@+id/cropView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/loading"
|
||||
style="@android:style/Widget.Holo.ProgressBar.Large"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:indeterminate="true"
|
||||
android:indeterminateOnly="true"
|
||||
android:background="@android:color/transparent" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
69
uikit/src/main/res/layout/muna_base_dialog_message.xml
Normal file
69
uikit/src/main/res/layout/muna_base_dialog_message.xml
Normal file
@@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.fengliyan.uikit.dialog.MaxHeightView 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:orientation="vertical"
|
||||
tools:viewBindingIgnore="true">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/base_message_content_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1px"
|
||||
android:layout_marginTop="21dp"
|
||||
android:background="@color/base_dialog_divider_color" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/base_message_one_button_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/base_message_ok_button"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/muna_base_dialog_bottom_btn_bg"
|
||||
android:text="确定"
|
||||
android:textColor="@color/mainColor"
|
||||
android:textSize="@dimen/base_dialog_button_text_size" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/base_message_two_button_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/base_message_negative_button"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/muna_base_dialog_cancel_btn_bg"
|
||||
android:text="取消"
|
||||
android:textColor="@color/mainColor"
|
||||
android:textSize="@dimen/base_dialog_button_text_size" />
|
||||
|
||||
<View
|
||||
android:layout_width="1px"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/base_dialog_divider_color" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/base_message_positive_button"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/muna_base_dialog_confirm_btn_bg"
|
||||
android:text="确定"
|
||||
android:textColor="@color/mainColor"
|
||||
android:textSize="@dimen/base_dialog_button_text_size" />
|
||||
</LinearLayout>
|
||||
</com.fengliyan.uikit.dialog.MaxHeightView>
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout 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:orientation="vertical"
|
||||
tools:viewBindingIgnore="true">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="21dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/base_message_title_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:gravity="center"
|
||||
android:includeFontPadding="false"
|
||||
android:singleLine="true"
|
||||
android:text="抱歉"
|
||||
android:textColor="#383838"
|
||||
android:textSize="18dp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/base_message_message_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="21dp"
|
||||
android:gravity="center"
|
||||
android:includeFontPadding="false"
|
||||
android:lineSpacingMultiplier="1.2"
|
||||
android:textColor="#9E9CA7"
|
||||
android:textSize="14dp"
|
||||
tools:text="app维护更新中,点击按钮关闭应用发送方式发送的认同为而通过啥地方送服务任务任务人舒服舒服" />
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
tools:viewBindingIgnore="true">
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/base_message_message_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginTop="21dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:gravity="center"
|
||||
android:includeFontPadding="false"
|
||||
android:lineSpacingMultiplier="1.2"
|
||||
android:textColor="@color/base_dialog_title_text_color"
|
||||
android:textSize="@dimen/base_dialog_title_text_size"
|
||||
tools:text="app维护更新中,点击按钮关闭应用发送方式发送的认同为而通过啥地方送服务任务任务人舒服舒服" />
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
</LinearLayout>
|
||||
29
uikit/src/main/res/layout/muna_filtershow_actionbar.xml
Normal file
29
uikit/src/main/res/layout/muna_filtershow_actionbar.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2012 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/muna_filtershow_button_background"
|
||||
android:id="@+id/filtershow_done"
|
||||
android:textAllCaps="true"
|
||||
android:text="保存"
|
||||
android:gravity="center_vertical"
|
||||
android:textSize="14sp"
|
||||
android:drawableLeft="@drawable/muna_menu_save_photo"
|
||||
android:drawablePadding="8dip" />
|
||||
31
uikit/src/main/res/layout/mz_banner_effect_layout.xml
Normal file
31
uikit/src/main/res/layout/mz_banner_effect_layout.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:clipChildren="false"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<com.fengliyan.uikit.mzbanner.CustomViewPager
|
||||
android:id="@+id/mzbanner_vp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:clipChildren="false"
|
||||
android:layout_marginLeft="60dp"
|
||||
android:layout_marginRight="60dp"
|
||||
>
|
||||
|
||||
</com.fengliyan.uikit.mzbanner.CustomViewPager>
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="20dp"
|
||||
>
|
||||
<LinearLayout
|
||||
android:id="@+id/banner_indicator_container"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_centerHorizontal="true"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
26
uikit/src/main/res/layout/mz_banner_normal_layout.xml
Normal file
26
uikit/src/main/res/layout/mz_banner_normal_layout.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<com.fengliyan.uikit.mzbanner.CustomViewPager
|
||||
android:id="@+id/mzbanner_vp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
</com.fengliyan.uikit.mzbanner.CustomViewPager>
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="20dp"
|
||||
>
|
||||
<LinearLayout
|
||||
android:id="@+id/banner_indicator_container"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_centerHorizontal="true"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
17
uikit/src/main/res/layout/nim_emoji_item.xml
Normal file
17
uikit/src/main/res/layout/nim_emoji_item.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:paddingTop="6dp"
|
||||
android:paddingBottom="8dip">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imgEmoji"
|
||||
android:layout_width="28dip"
|
||||
android:layout_height="28dip"
|
||||
android:layout_centerHorizontal="true" >
|
||||
</ImageView>
|
||||
|
||||
</RelativeLayout>
|
||||
60
uikit/src/main/res/layout/nim_emoji_layout.xml
Normal file
60
uikit/src/main/res/layout/nim_emoji_layout.xml
Normal file
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:id="@+id/emojiLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:background="@android:color/white"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<View
|
||||
android:id="@+id/top_divider_line"
|
||||
android:layout_height="2px"
|
||||
android:layout_width="match_parent"
|
||||
android:background="@color/color_gray_d9d9d9"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<androidx.viewpager.widget.ViewPager
|
||||
android:id="@+id/scrPlugin"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="180dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:overScrollMode="never"
|
||||
android:scrollbars="none"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_scr_bottom"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="8dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal"></LinearLayout>
|
||||
|
||||
<View style="@style/horizontal_light_thin_divider"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<HorizontalScrollView
|
||||
android:id="@+id/emoj_tab_view_container"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@android:color/white"
|
||||
android:scrollbars="none">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/emoj_tab_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="44dp"
|
||||
android:orientation="horizontal">
|
||||
</LinearLayout>
|
||||
</HorizontalScrollView>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
42
uikit/src/main/res/layout/nim_sticker_picker_view.xml
Normal file
42
uikit/src/main/res/layout/nim_sticker_picker_view.xml
Normal file
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="90dp"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingBottom="2dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sticker_desc_label"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/black"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center_horizontal"
|
||||
android:scrollHorizontally="false"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/sticker_thumb_image"
|
||||
android:layout_width="64dp"
|
||||
android:layout_height="64dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:layout_above="@+id/sticker_desc_label"
|
||||
android:adjustViewBounds="true"
|
||||
android:layout_centerInParent="true" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
102
uikit/src/main/res/layout/title.xml
Normal file
102
uikit/src/main/res/layout/title.xml
Normal file
@@ -0,0 +1,102 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/title_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="80dp"
|
||||
android:background="@color/titleColor"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="25dp" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="55dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/left_title_main"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_base_back"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/left_image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="10dp" />
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/left_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right|center_vertical"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:textColor="@color/titleColor"
|
||||
android:textSize="18sp" />
|
||||
</FrameLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/center_title_main"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/center_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center"
|
||||
android:lines="1"
|
||||
android:textColor="@color/editTextColor"
|
||||
android:textSize="18sp" />
|
||||
</FrameLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/right_title_main"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/right_image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right|center_vertical"
|
||||
android:layout_marginRight="10dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/right_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right|center_vertical"
|
||||
android:layout_marginRight="10dp"
|
||||
android:background="@null"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:textColor="@android:color/black"
|
||||
android:textSize="14sp" />
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/title_bottom_line"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="2px"
|
||||
android:background="@color/titleLine"
|
||||
android:visibility="visible" />
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user