Initial commit

This commit is contained in:
2025-05-13 19:24:51 +02:00
commit a950f49678
10604 changed files with 932663 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/RtlOverlay.Widget.AppCompat.ActionBar.TitleItem">
<TextView
android:ellipsize="end"
android:id="@+id/action_bar_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"/>
<TextView
android:ellipsize="end"
android:id="@+id/action_bar_subtitle"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/abc_action_bar_subtitle_top_margin_material"
android:singleLine="true"/>
</LinearLayout>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:enabled="false"
android:gravity="center_vertical"
android:background="?attr/actionBarItemBackground"
android:layout_width="wrap_content"
android:layout_height="match_parent"/>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.view.menu.ActionMenuItemView xmlns:android="http://schemas.android.com/apk/res/android"
android:textAppearance="?attr/actionMenuTextAppearance"
android:textColor="?attr/actionMenuTextColor"
android:gravity="center"
android:layout_gravity="center"
android:paddingLeft="8dp"
android:paddingTop="4dp"
android:paddingRight="8dp"
android:paddingBottom="4dp"
android:focusable="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="?attr/actionButtonStyle"/>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.ActionMenuView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:gravity="center_vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:divider="?attr/actionBarDivider"
app:dividerPadding="12dp"/>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.ActionBarContextView xmlns:android="http://schemas.android.com/apk/res/android"
android:theme="?attr/actionBarTheme"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="?attr/actionModeStyle"/>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<ImageView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/action_mode_close_button"
android:paddingLeft="8dp"
android:focusable="true"
android:clickable="true"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginRight="16dp"
android:contentDescription="@string/abc_action_mode_done"
android:paddingStart="8dp"
android:layout_marginEnd="16dp"
app:srcCompat="?attr/actionModeCloseDrawable"
style="?attr/actionModeCloseButtonStyle"/>

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<x/>

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<x/>

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/buttonPanel"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fillViewport="true"
style="?attr/buttonBarStyle">
<androidx.appcompat.widget.ButtonBarLayout
android:gravity="bottom"
android:orientation="horizontal"
android:paddingLeft="12dp"
android:paddingTop="4dp"
android:paddingRight="12dp"
android:paddingBottom="4dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layoutDirection="locale">
<Button
android:id="@android:id/button3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="?attr/buttonBarNeutralButtonStyle"/>
<android.widget.Space
android:id="@+id/spacer"
android:visibility="invisible"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1"/>
<Button
android:id="@android:id/button2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="?attr/buttonBarNegativeButtonStyle"/>
<Button
android:id="@android:id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="?attr/buttonBarPositiveButtonStyle"/>
</androidx.appcompat.widget.ButtonBarLayout>
</ScrollView>

View File

@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.AlertDialogLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:gravity="start|top"
android:orientation="vertical"
android:id="@+id/parentPanel"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<include layout="@layout/abc_alert_dialog_title_material"/>
<FrameLayout
android:id="@+id/contentPanel"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="48dp">
<View
android:layout_gravity="top"
android:id="@+id/scrollIndicatorUp"
android:background="?attr/colorControlHighlight"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="1dp"/>
<androidx.core.widget.NestedScrollView
android:id="@+id/scrollView"
android:clipToPadding="false"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<android.widget.Space
android:id="@+id/textSpacerNoTitle"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="@dimen/abc_dialog_padding_top_material"/>
<TextView
android:id="@android:id/message"
android:paddingLeft="?attr/dialogPreferredPadding"
android:paddingRight="?attr/dialogPreferredPadding"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/TextAppearance.AppCompat.Subhead"/>
<android.widget.Space
android:id="@+id/textSpacerNoButtons"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="@dimen/abc_dialog_padding_top_material"/>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
<View
android:layout_gravity="bottom"
android:id="@+id/scrollIndicatorDown"
android:background="?attr/colorControlHighlight"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="1dp"/>
</FrameLayout>
<FrameLayout
android:id="@+id/customPanel"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="48dp">
<FrameLayout
android:id="@+id/custom"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</FrameLayout>
<include
android:layout_width="match_parent"
android:layout_height="wrap_content"
layout="@layout/abc_alert_dialog_button_bar_material"/>
</androidx.appcompat.widget.AlertDialogLayout>

View File

@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:id="@+id/topPanel"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:gravity="start|center_vertical"
android:orientation="horizontal"
android:id="@+id/title_template"
android:paddingLeft="?attr/dialogPreferredPadding"
android:paddingTop="@dimen/abc_dialog_padding_top_material"
android:paddingRight="?attr/dialogPreferredPadding"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@android:id/icon"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_marginRight="8dp"
android:src="@null"
android:scaleType="fitCenter"
android:layout_marginEnd="8dp"/>
<androidx.appcompat.widget.DialogTitle
android:ellipsize="end"
android:id="@+id/alertTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:singleLine="true"
android:textAlignment="viewStart"
style="?android:attr/windowTitleStyle"/>
</LinearLayout>
<android.widget.Space
android:id="@+id/titleDividerNoCustom"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="@dimen/abc_dialog_title_divider_material"/>
</LinearLayout>

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.view.menu.ListMenuItemView xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minWidth="196dp">
<ImageView
android:id="@+id/group_divider"
android:background="@drawable/abc_list_divider_material"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="4dp"
android:layout_marginBottom="4dp"/>
<LinearLayout
android:id="@+id/content"
android:duplicateParentState="true"
android:layout_width="match_parent"
android:layout_height="?attr/dropdownListPreferredItemHeight"
style="@style/RtlOverlay.Widget.AppCompat.PopupMenuItem">
<TextView
android:textAppearance="?attr/textAppearanceLargePopupMenu"
android:layout_gravity="center_vertical"
android:id="@+id/title"
android:duplicateParentState="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
style="@style/RtlOverlay.Widget.AppCompat.PopupMenuItem.Title"/>
<Space
android:layout_width="0dp"
android:layout_height="1dp"
android:layout_weight="1"/>
<TextView
android:textAppearance="?attr/textAppearanceSmallPopupMenu"
android:layout_gravity="center_vertical"
android:id="@+id/shortcut"
android:duplicateParentState="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
style="@style/RtlOverlay.Widget.AppCompat.PopupMenuItem.Shortcut"/>
<ImageView
android:layout_gravity="center"
android:id="@+id/submenuarrow"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="center"
style="@style/RtlOverlay.Widget.AppCompat.PopupMenuItem.SubmenuArrow"/>
</LinearLayout>
</androidx.appcompat.view.menu.ListMenuItemView>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.FitWindowsLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:fitsSystemWindows="true"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:ellipsize="end"
android:id="@+id/title"
android:paddingLeft="?attr/dialogPreferredPadding"
android:paddingTop="@dimen/abc_dialog_padding_top_material"
android:paddingRight="?attr/dialogPreferredPadding"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:singleLine="true"
android:textAlignment="viewStart"
style="?android:attr/windowTitleStyle"/>
<include
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
layout="@layout/abc_screen_content_include"/>
</androidx.appcompat.widget.FitWindowsLinearLayout>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.view.menu.ExpandedMenuView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/expanded_menu"
android:layout_width="?attr/panelMenuListWidth"
android:layout_height="wrap_content"/>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<CheckBox xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_gravity="center_vertical"
android:id="@+id/checkbox"
android:focusable="false"
android:clickable="false"
android:duplicateParentState="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_gravity="center_vertical"
android:id="@+id/icon"
android:duplicateParentState="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginTop="8dp"
android:layout_marginRight="-8dp"
android:layout_marginBottom="8dp"
android:scaleType="centerInside"/>

View File

@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.view.menu.ListMenuItemView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="?attr/listPreferredItemHeightSmall">
<RelativeLayout
android:layout_gravity="center_vertical"
android:duplicateParentState="true"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="?attr/listPreferredItemPaddingLeft"
android:layout_marginRight="?attr/listPreferredItemPaddingRight"
android:layout_weight="1">
<TextView
android:textAppearance="?attr/textAppearanceListItemSmall"
android:ellipsize="marquee"
android:id="@+id/title"
android:fadingEdge="horizontal"
android:duplicateParentState="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:singleLine="true"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"/>
<TextView
android:textAppearance="?android:attr/textAppearanceSmall"
android:id="@+id/shortcut"
android:duplicateParentState="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:layout_below="@+id/title"
android:layout_alignParentLeft="true"/>
</RelativeLayout>
</androidx.appcompat.view.menu.ListMenuItemView>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<RadioButton xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_gravity="center_vertical"
android:id="@+id/radio"
android:focusable="false"
android:clickable="false"
android:duplicateParentState="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:layout_width="match_parent"
android:layout_height="?attr/dropdownListPreferredItemHeight"
android:minWidth="196dp">
<TextView
android:textAppearance="?attr/textAppearancePopupMenuHeader"
android:ellipsize="marquee"
android:layout_gravity="center_vertical"
android:id="@android:id/title"
android:fadingEdge="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:singleLine="true"
android:textAlignment="viewStart"/>
</FrameLayout>

View File

@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.view.menu.ListMenuItemView xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minWidth="196dp">
<ImageView
android:id="@+id/group_divider"
android:background="@drawable/abc_list_divider_material"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="4dp"
android:layout_marginBottom="4dp"/>
<LinearLayout
android:id="@+id/content"
android:duplicateParentState="true"
android:layout_width="match_parent"
android:layout_height="?attr/dropdownListPreferredItemHeight"
style="@style/RtlOverlay.Widget.AppCompat.PopupMenuItem">
<RelativeLayout
android:layout_gravity="center_vertical"
android:duplicateParentState="true"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
style="@style/RtlOverlay.Widget.AppCompat.PopupMenuItem.InternalGroup">
<TextView
android:textAppearance="?attr/textAppearanceLargePopupMenu"
android:ellipsize="marquee"
android:id="@+id/title"
android:fadingEdge="horizontal"
android:duplicateParentState="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:singleLine="true"
android:layout_alignParentTop="true"
style="@style/RtlOverlay.Widget.AppCompat.PopupMenuItem.Text"/>
<TextView
android:textAppearance="?attr/textAppearanceSmallPopupMenu"
android:id="@+id/shortcut"
android:duplicateParentState="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:layout_below="@+id/title"
style="@style/RtlOverlay.Widget.AppCompat.PopupMenuItem.Text"/>
</RelativeLayout>
<ImageView
android:layout_gravity="center"
android:id="@+id/submenuarrow"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="center"
style="@style/RtlOverlay.Widget.AppCompat.PopupMenuItem.SubmenuArrow"/>
</LinearLayout>
</androidx.appcompat.view.menu.ListMenuItemView>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android">
<androidx.appcompat.widget.ContentFrameLayout
android:id="@+id/action_bar_activity_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:foreground="?android:attr/windowContentOverlay"
android:foregroundGravity="top|fill_horizontal"/>
</merge>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.FitWindowsLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:id="@+id/action_bar_root"
android:fitsSystemWindows="true"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.appcompat.widget.ViewStubCompat
android:id="@+id/action_mode_bar_stub"
android:layout="@layout/abc_action_mode_bar"
android:inflatedId="@+id/action_mode_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<include layout="@layout/abc_screen_content_include"/>
</androidx.appcompat.widget.FitWindowsLinearLayout>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.FitWindowsFrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/action_bar_root"
android:fitsSystemWindows="true"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/abc_screen_content_include"/>
<androidx.appcompat.widget.ViewStubCompat
android:id="@+id/action_mode_bar_stub"
android:layout="@layout/abc_action_mode_bar"
android:inflatedId="@+id/action_mode_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</androidx.appcompat.widget.FitWindowsFrameLayout>

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.ActionBarOverlayLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/decor_content_parent"
android:fitsSystemWindows="true"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/abc_screen_content_include"/>
<androidx.appcompat.widget.ActionBarContainer
android:gravity="top"
android:id="@+id/action_bar_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:touchscreenBlocksFocus="true"
style="?attr/actionBarStyle">
<androidx.appcompat.widget.Toolbar
android:id="@+id/action_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:navigationContentDescription="@string/abc_action_bar_up_description"
style="?attr/toolbarStyle"/>
<androidx.appcompat.widget.ActionBarContextView
android:theme="?attr/actionBarTheme"
android:id="@+id/action_context_bar"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="?attr/actionModeStyle"/>
</androidx.appcompat.widget.ActionBarContainer>
</androidx.appcompat.widget.ActionBarOverlayLayout>

View File

@@ -0,0 +1,56 @@
<?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="58dp"
style="@style/RtlOverlay.Widget.AppCompat.Search.DropDown">
<ImageView
android:id="@android:id/icon1"
android:visibility="invisible"
android:layout_width="@dimen/abc_dropdownitem_icon_width"
android:layout_height="48dp"
android:scaleType="centerInside"
android:layout_alignParentTop="true"
android:layout_alignParentBottom="true"
style="@style/RtlOverlay.Widget.AppCompat.Search.DropDown.Icon1"/>
<ImageView
android:id="@+id/edit_query"
android:background="?attr/selectableItemBackground"
android:visibility="gone"
android:layout_width="48dp"
android:layout_height="48dp"
android:scaleType="centerInside"
android:layout_alignParentTop="true"
android:layout_alignParentBottom="true"
style="@style/RtlOverlay.Widget.AppCompat.Search.DropDown.Query"/>
<ImageView
android:id="@android:id/icon2"
android:visibility="gone"
android:layout_width="48dp"
android:layout_height="48dp"
android:scaleType="centerInside"
android:layout_alignParentTop="true"
android:layout_alignParentBottom="true"
android:layout_alignWithParentIfMissing="true"
style="@style/RtlOverlay.Widget.AppCompat.Search.DropDown.Icon2"/>
<TextView
android:textAppearance="?attr/textAppearanceSearchResultSubtitle"
android:gravity="top"
android:id="@android:id/text2"
android:paddingBottom="4dp"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="29dp"
android:singleLine="true"
android:layout_alignParentBottom="true"
android:layout_alignWithParentIfMissing="true"
style="?android:attr/dropDownItemStyle"/>
<TextView
android:textAppearance="?attr/textAppearanceSearchResultTitle"
android:id="@android:id/text1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:singleLine="true"
android:layout_above="@android:id/text2"
android:layout_centerVertical="true"
style="?android:attr/dropDownItemStyle"/>
</RelativeLayout>

View File

@@ -0,0 +1,107 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:id="@+id/search_bar"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="?android:attr/textColorPrimary"
android:gravity="center_vertical"
android:id="@+id/search_badge"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginBottom="2dp"
android:drawablePadding="0dp"/>
<ImageView
android:layout_gravity="center_vertical"
android:id="@+id/search_button"
android:focusable="true"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:contentDescription="@string/abc_searchview_description_search"
style="?attr/actionButtonStyle"/>
<LinearLayout
android:orientation="horizontal"
android:id="@+id/search_edit_frame"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_weight="1"
android:layoutDirection="locale">
<ImageView
android:layout_gravity="center_vertical"
android:id="@+id/search_mag_icon"
android:visibility="gone"
android:layout_width="@dimen/abc_dropdownitem_icon_width"
android:layout_height="wrap_content"
android:scaleType="centerInside"
style="@style/RtlOverlay.Widget.AppCompat.SearchView.MagIcon"/>
<LinearLayout
android:layout_gravity="center_vertical"
android:orientation="horizontal"
android:id="@+id/search_plate"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1">
<view
android:ellipsize="end"
android:layout_gravity="center_vertical"
android:id="@+id/search_src_text"
android:background="@null"
android:paddingLeft="@dimen/abc_dropdownitem_text_padding_left"
android:paddingRight="@dimen/abc_dropdownitem_text_padding_right"
android:layout_width="0dp"
android:layout_height="36dp"
android:singleLine="true"
android:layout_weight="1"
android:inputType="textNoSuggestions"
android:dropDownAnchor="@+id/search_edit_frame"
android:imeOptions="actionSearch"
android:dropDownHeight="wrap_content"
android:dropDownHorizontalOffset="0dp"
android:dropDownVerticalOffset="0dp"
class="androidx.appcompat.widget.SearchView$SearchAutoComplete"/>
<ImageView
android:layout_gravity="center_vertical"
android:id="@+id/search_close_btn"
android:background="?attr/selectableItemBackgroundBorderless"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:focusable="true"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:contentDescription="@string/abc_searchview_description_clear"/>
</LinearLayout>
<LinearLayout
android:orientation="horizontal"
android:id="@+id/submit_area"
android:layout_width="wrap_content"
android:layout_height="match_parent">
<ImageView
android:layout_gravity="center_vertical"
android:id="@+id/search_go_btn"
android:background="?attr/selectableItemBackgroundBorderless"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:focusable="true"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:contentDescription="@string/abc_searchview_description_submit"/>
<ImageView
android:layout_gravity="center_vertical"
android:id="@+id/search_voice_btn"
android:background="?attr/selectableItemBackgroundBorderless"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:focusable="true"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:contentDescription="@string/abc_searchview_description_voice"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<view xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/select_dialog_listview"
android:scrollbars="vertical"
android:fadingEdge="none"
android:clipToPadding="false"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:cacheColorHint="@null"
android:divider="?attr/listDividerAlertDialog"
android:overScrollMode="ifContentScrolls"
android:textAlignment="viewStart"
app:paddingBottomNoButtons="@dimen/abc_dialog_list_padding_bottom_no_buttons"
app:paddingTopNoTitle="@dimen/abc_dialog_list_padding_top_no_title"
class="androidx.appcompat.app.AlertController$RecycleListView"
style="@style/Widget.AppCompat.ListView"/>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:textAppearance="@style/TextAppearance.AppCompat.Tooltip"
android:textColor="?attr/tooltipForegroundColor"
android:ellipsize="end"
android:id="@+id/message"
android:background="?attr/tooltipFrameBackground"
android:paddingLeft="@dimen/tooltip_horizontal_padding"
android:paddingTop="@dimen/tooltip_vertical_padding"
android:paddingRight="@dimen/tooltip_horizontal_padding"
android:paddingBottom="@dimen/tooltip_vertical_padding"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/tooltip_margin"
android:maxWidth="256dp"
android:maxLines="3"
android:paddingStart="@dimen/tooltip_horizontal_padding"
android:paddingEnd="@dimen/tooltip_horizontal_padding"/>
</LinearLayout>

View File

@@ -0,0 +1,134 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:gravity="center"
android:orientation="vertical"
android:id="@+id/ll_container"
android:background="@color/bg_cc596F80"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:gravity="center"
android:id="@+id/layout_center_card"
android:background="@drawable/shape_white_corner_20"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minWidth="364dp"
android:minHeight="320dp"
android:layout_centerInParent="true">
<LinearLayout
android:gravity="center"
android:layout_gravity="center"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:textSize="12sp"
android:textColor="#777b7c"
android:id="@+id/tv_finish_course2"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:text="@string/ability_some_upgrade"
android:layout_centerHorizontal="true"/>
<FrameLayout
android:background="@drawable/bg_star_course_dialog"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:layout_gravity="center"
android:id="@+id/img_finish"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/ic_star_course_success"/>
</FrameLayout>
<TextView
android:textSize="@dimen/title16"
android:textColor="@color/txt_596F80"
android:id="@+id/tv_finish_course"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_5"
android:text="@string/finish_course"
android:layout_centerHorizontal="true"/>
<LinearLayout
android:orientation="horizontal"
android:id="@+id/layout_exp_score"
android:visibility="invisible"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp">
<TextView
android:textSize="@dimen/content12"
android:textColor="@color/txt_00A9FF"
android:id="@+id/expTextView"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawableLeft="@drawable/ic_exp_small"
android:drawablePadding="5dp"/>
<TextView
android:textSize="12sp"
android:textColor="#98a5b6"
android:id="@+id/expTipTextView"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="@string/exp_value"/>
<TextView
android:textSize="@dimen/content12"
android:textColor="@color/txt_FFA814"
android:id="@+id/scoreTextView"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:drawableLeft="@drawable/ic_score_small"
android:drawablePadding="5dp"/>
<TextView
android:textSize="12sp"
android:textColor="#98a5b6"
android:id="@+id/scoreTipTextView"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="@string/score"/>
</LinearLayout>
<com.ubtech.view.widget.UButton
android:id="@+id/bsl_play"
android:text="@string/play_continue"
style="@style/btn_blue_middle_style"/>
<LinearLayout
android:gravity="center"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8.5dp"
android:layout_below="@+id/img_finish">
<Button
android:textColor="#2dc6ec"
android:id="@+id/btn_play_again"
android:background="@drawable/btn_normal"
android:paddingLeft="8dp"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="46dp"
android:text="@string/play_again"
android:drawableLeft="@drawable/play_again"/>
<Button
android:textColor="#2dc6ec"
android:id="@+id/btn_play_continue"
android:background="@drawable/btn_normal"
android:paddingLeft="8dp"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="46dp"
android:layout_marginLeft="21dp"
android:text="@string/play_continue"
android:drawableLeft="@drawable/play_continue"/>
</LinearLayout>
</LinearLayout>
</FrameLayout>
</RelativeLayout>

View File

@@ -0,0 +1,68 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@color/theme_background"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.viewpager.widget.ViewPager
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<RelativeLayout
android:id="@+id/header"
android:background="@color/translucent"
android:layout_width="match_parent"
android:layout_height="@dimen/main_header_size">
<com.ubt.jimu.main.widget.UserEntryView
android:id="@+id/user"
android:layout_width="@dimen/user_entry_width"
android:layout_height="wrap_content"/>
<ImageView
android:id="@+id/setting"
android:layout_width="@dimen/home_settings_img"
android:layout_height="@dimen/home_settings_img"
android:src="@drawable/ic_settings"
android:scaleType="centerCrop"
android:layout_alignParentRight="true"/>
<ImageView
android:id="@+id/setting_new"
android:visibility="gone"
android:layout_width="@dimen/home_point"
android:layout_height="@dimen/home_point"
android:layout_marginTop="@dimen/home_point_margin_top"
android:layout_marginRight="@dimen/home_point_margin_right"
android:src="@drawable/little_point"
android:layout_alignTop="@+id/setting"
android:layout_alignRight="@+id/setting"/>
<ImageView
android:id="@+id/msg"
android:visibility="gone"
android:layout_width="@dimen/home_settings_img"
android:layout_height="@dimen/home_settings_img"
android:src="@drawable/ic_msg"
android:scaleType="centerCrop"
android:layout_toLeftOf="@+id/setting"/>
<ImageView
android:id="@+id/new_msg"
android:visibility="gone"
android:layout_width="@dimen/home_point"
android:layout_height="@dimen/home_point"
android:layout_marginTop="@dimen/home_point_margin_top"
android:layout_marginRight="@dimen/home_point_margin_right"
android:src="@drawable/little_point"
android:layout_alignTop="@+id/msg"
android:layout_alignRight="@+id/msg"/>
<com.ubt.jimu.main.widget.TabBarView
android:id="@+id/tab_bar"
android:background="@color/translucent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="@dimen/tab_bar_margin_start"
android:layout_marginEnd="@dimen/tab_bar_margin_end"
android:layout_toStartOf="@+id/msg"
android:layout_toEndOf="@+id/user"
app:tb_textArray="@array/tabbar_titles"
app:tb_textColor="@color/txt_00A9FF"
app:tb_textSelectedColor="@color/theme_txt_orange"
app:tb_textSize="@dimen/theme_16sp"/>
</RelativeLayout>
</RelativeLayout>

View File

@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<Button
android:id="@+id/ubtn_test"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="ubtn test"
android:onClick="onClick"/>
<Button
android:id="@+id/controller_test"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="controller test"
android:onClick="onClick"/>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<EditText
android:id="@+id/et_blockly_test"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="input blockly url"
android:layout_toStartOf="@+id/blockly_test"
android:layout_alignParentStart="true"/>
<Button
android:id="@+id/blockly_test"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="save"
android:onClick="onClick"
android:layout_toStartOf="@+id/blockly_reset"/>
<Button
android:id="@+id/blockly_reset"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="reset"
android:onClick="onClick"
android:layout_alignParentEnd="true"/>
</RelativeLayout>
</LinearLayout>

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.ubt.jimu.widgets.NavigationBarView
android:id="@+id/nbv_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:nbv_mode="left_right"
app:nbv_title="@string/title_diy_user"/>
<LinearLayout
android:orientation="horizontal"
android:id="@+id/ll_edit"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true">
<ImageView
android:id="@+id/iv_trash"
android:background="@drawable/ic_diy_trash"
android:layout_width="@dimen/theme_navigation_size"
android:layout_height="@dimen/theme_navigation_size"
android:layout_marginRight="2dp"/>
<ImageView
android:id="@+id/iv_edit_exit"
android:background="@drawable/ic_diy_edit_exit"
android:layout_width="@dimen/theme_navigation_size"
android:layout_height="@dimen/theme_navigation_size"/>
</LinearLayout>
<com.recyclelib.URecyclerView
android:id="@+id/rv_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/nbv_bar"/>
<ImageView
android:id="@+id/iv_new"
android:background="@drawable/ic_diy_new"
android:layout_width="@dimen/publish_btn"
android:layout_height="@dimen/publish_btn"
android:layout_marginRight="@dimen/dp29w"
android:layout_marginBottom="@dimen/dp29w"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"/>
<com.ubt.jimu.widgets.error.UErrorView
android:id="@+id/ev_error"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/nbv_bar"/>
</RelativeLayout>

View File

@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/top_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.ubt.jimu.widgets.NavigationBarView
android:id="@+id/nbv_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:nbv_mode="left"/>
<RelativeLayout
android:id="@+id/btn_layout"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="48dp">
<TextView
android:textSize="14sp"
android:textColor="@color/txt_00A9FF"
android:gravity="center"
android:id="@+id/left_btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:text="@string/gdpr_disagree"
android:layout_centerVertical="true"/>
<TextView
android:textSize="14sp"
android:textColor="@color/txt_00A9FF"
android:gravity="center"
android:id="@+id/right_btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:text="@string/gdpr_agree"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"/>
</RelativeLayout>
</RelativeLayout>
<com.ubtech.view.widget.UWebLayout
android:id="@+id/uwl_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/top_layout"/>
<ProgressBar
android:id="@+id/pb_progress"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="2dp"
android:progressDrawable="@drawable/progressbar"
android:layout_below="@+id/top_layout"
style="?android:attr/progressBarStyleHorizontal"/>
</RelativeLayout>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="@dimen/action_bar_height">
<ImageView
android:id="@+id/imgBack"
android:layout_width="@dimen/action_bar_height"
android:layout_height="@dimen/action_bar_height"
android:src="@drawable/ic_back"/>
<TextView
android:textSize="@dimen/txt_title_1"
android:textColor="@android:color/black"
android:gravity="center"
android:layout_gravity="center"
android:id="@+id/tvTitle"
android:layout_width="wrap_content"
android:layout_height="match_parent"/>
</androidx.cardview.widget.CardView>

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="48dp">
<ImageView
android:id="@+id/imgBack"
android:layout_width="48dp"
android:layout_height="match_parent"
android:src="@drawable/ic_back"/>
<TextView
android:gravity="center"
android:layout_gravity="center"
android:id="@+id/tvTitle"
android:layout_width="wrap_content"
android:layout_height="match_parent"/>
<ImageView
android:layout_gravity="right"
android:id="@+id/imgRight"
android:layout_width="48dp"
android:layout_height="match_parent"
android:layout_marginRight="16dp"/>
</androidx.cardview.widget.CardView>

View File

@@ -0,0 +1,151 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:gravity="center_horizontal"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.ubt.jimu.widgets.NavigationBarView
android:id="@+id/nbv_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:nbv_mode="left"
app:nbv_title="@string/setting_about_jimu"/>
<LinearLayout
android:gravity="center"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/nbv_bar">
<ImageView
android:layout_gravity="center_horizontal"
android:id="@+id/img_jimu"
android:layout_width="@dimen/dp200"
android:layout_height="@dimen/dp200"
android:src="@drawable/setting_about_jimu"
android:scaleType="centerCrop"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp">
<TextView
android:textSize="@dimen/theme_16sp"
android:textColor="@color/theme_txt"
android:gravity="center"
android:layout_gravity="center_horizontal"
android:id="@+id/tv_jimu_version"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text=" "/>
<TextView
android:textSize="6sp"
android:textColor="@android:color/white"
android:id="@+id/tvNewVersion"
android:background="@drawable/shape_cornor5_solid_ff4979"
android:paddingLeft="2dp"
android:paddingTop="1dp"
android:paddingRight="2dp"
android:paddingBottom="1dp"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="NEW"/>
</LinearLayout>
<LinearLayout
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:textSize="@dimen/theme_14sp"
android:textColor="#00a9ff"
android:gravity="center"
android:layout_gravity="center_horizontal"
android:id="@+id/tvVersionDesc"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/version_desc"/>
<TextView
android:textSize="@dimen/theme_14sp"
android:textColor="#00a9ff"
android:gravity="center"
android:layout_gravity="center_horizontal"
android:id="@+id/tvUpdateNow"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="34dp"
android:text="@string/update_now"/>
</LinearLayout>
<TextView
android:textSize="@dimen/theme_12sp"
android:textColor="@color/theme_txt"
android:layout_gravity="center_horizontal"
android:id="@+id/tv_desc"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp60"
android:text="@string/setting_about_desc"/>
<LinearLayout
android:gravity="center_horizontal"
android:orientation="horizontal"
android:id="@+id/xl_china"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp25">
<TextView
android:textSize="@dimen/theme_12sp"
android:textColor="@color/bg_96A6B4"
android:gravity="center_vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/setting_china"/>
<TextView
android:textSize="@dimen/theme_12sp"
android:textColor="@color/bg_96A6B4"
android:gravity="center_vertical"
android:id="@+id/tv_phone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10px"
android:text="@string/setting_phone"/>
<TextView
android:textSize="@dimen/theme_12sp"
android:textColor="@color/bg_96A6B4"
android:gravity="center_vertical"
android:id="@+id/tv_start_ucare"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:text="@string/setting_email_ucare"/>
</LinearLayout>
<LinearLayout
android:gravity="center_horizontal"
android:orientation="horizontal"
android:id="@+id/xl_start_jimu"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp5"
android:layout_marginBottom="16dp"
android:layout_alignParentBottom="true">
<TextView
android:textSize="@dimen/theme_12sp"
android:textColor="@color/bg_96A6B4"
android:gravity="center_vertical"
android:id="@+id/tv_hongkong"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/setting_hongkong"/>
<TextView
android:textSize="@dimen/theme_12sp"
android:textColor="@color/bg_96A6B4"
android:gravity="center_vertical"
android:id="@+id/tv_start_jimu"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:text="@string/setting_email_jimu"/>
</LinearLayout>
</LinearLayout>
</RelativeLayout>

View File

@@ -0,0 +1,24 @@
<?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"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.ubt.jimu.widgets.NavigationBarView
android:id="@+id/nbv_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:nbv_mode="left"
app:nbv_title="@string/title_activity"/>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.recyclelib.URecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<com.ubt.jimu.widgets.LoadingView
android:id="@+id/loadingView"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</FrameLayout>
</LinearLayout>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<com.ubtech.view.widget.UFrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/rootView"
android:background="@color/translucent"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:layout_gravity="center"
android:id="@+id/centerCardView"
android:clickable="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</com.ubtech.view.widget.UFrameLayout>

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@color/bg_CC596F80"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/re_select_direction"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="@dimen/add_direction_margin_left"
android:layout_marginTop="@dimen/add_direction_margin_top"
android:layout_marginRight="@dimen/add_direction_margin_right"/>
<ImageView
android:id="@+id/im_back"
android:background="@mipmap/btn_cancel"
android:layout_width="@dimen/round_button_width"
android:layout_height="@dimen/round_button_width"
android:layout_margin="@dimen/btn_back_margin_top"/>
</RelativeLayout>

View File

@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@color/theme_background"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:gravity="center"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp50"
android:layout_below="@+id/nbv_bar"
android:layout_centerInParent="true">
<RelativeLayout
android:layout_marginTop="@dimen/dp10"
style="@style/input_parent_view_style">
<ImageView
android:id="@+id/im_username_icon"
android:layout_width="@dimen/dp70"
android:layout_height="@dimen/dp70"
android:layout_marginLeft="@dimen/dp15w"
android:src="@drawable/ic_nickname"
android:layout_centerVertical="true"/>
<com.ubt.jimu.widgets.ClearEditText
android:id="@+id/nameEditText"
android:layout_marginLeft="@dimen/dp30w"
android:layout_marginRight="@dimen/dp20w"
android:hint="@string/address_name"
android:maxLength="30"
android:layout_toRightOf="@+id/im_username_icon"
android:layout_centerVertical="true"
android:inputType="textEmailAddress"
style="@style/clear_edit_text_style"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/rl_telephone_layout"
style="@style/input_parent_view_style">
<ImageView
android:id="@+id/im_telephone_icon"
android:layout_width="@dimen/dp70"
android:layout_height="@dimen/dp70"
android:layout_marginLeft="@dimen/dp15w"
android:src="@drawable/ic_telephone"
android:layout_centerVertical="true"/>
<com.ubt.jimu.widgets.ClearEditText
android:id="@+id/telephoneEditText"
android:layout_marginLeft="@dimen/dp30w"
android:layout_marginRight="@dimen/dp20w"
android:hint="@string/contact_phone"
android:layout_centerVertical="true"
android:inputType="textEmailAddress"
android:layout_toEndOf="@+id/im_telephone_icon"
style="@style/clear_edit_text_style"/>
</RelativeLayout>
<RelativeLayout
android:background="@drawable/bg_circular_bead"
android:layout_width="@dimen/dp632w"
android:layout_height="wrap_content">
<ImageView
android:background="@drawable/address_icon"
android:layout_width="@dimen/dp70"
android:layout_height="@dimen/dp70"
android:layout_marginLeft="@dimen/dp30w"
android:layout_marginTop="@dimen/dp10"/>
<View
android:id="@+id/view_1"
android:background="@color/bg_C8C7CC"
android:layout_width="match_parent"
android:layout_height="@dimen/dp1"
android:layout_marginLeft="@dimen/dp35"
android:layout_marginTop="@dimen/dp80"
android:layout_marginRight="@dimen/dp35"
android:alpha="0.5"/>
<View
android:id="@+id/view_2"
android:background="@color/bg_C8C7CC"
android:layout_width="match_parent"
android:layout_height="@dimen/dp1"
android:layout_marginLeft="@dimen/dp35"
android:layout_marginTop="@dimen/dp65"
android:layout_marginRight="@dimen/dp35"
android:layout_below="@+id/view_1"
android:alpha="0.5"/>
<View
android:id="@+id/view_3"
android:background="@color/bg_C8C7CC"
android:layout_width="match_parent"
android:layout_height="@dimen/dp1"
android:layout_marginLeft="@dimen/dp35"
android:layout_marginTop="@dimen/dp65"
android:layout_marginRight="@dimen/dp35"
android:layout_below="@+id/view_2"
android:alpha="0.5"/>
<EditText
android:textSize="@dimen/dp32"
android:textColor="@color/theme_input_txt"
android:textColorHint="@color/theme_input_hint"
android:gravity="top"
android:id="@+id/et_detail"
android:background="@color/translucent"
android:paddingLeft="@dimen/dp110w"
android:paddingRight="@dimen/dp45"
android:paddingBottom="@dimen/dp20"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp30"
android:hint="@string/detail_address"
android:lines="3"
android:maxLength="50"
android:lineSpacingExtra="@dimen/dp30"
android:imeOptions="flagNoExtractUi"/>
</RelativeLayout>
</LinearLayout>
<com.ubt.jimu.widgets.NavigationBarView
android:id="@+id/nbv_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:nbv_mode="left_right"
app:nbv_title="@string/title_address"/>
</RelativeLayout>

View File

@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:background="@android:color/white"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:gravity="center_vertical"
android:orientation="horizontal"
android:id="@+id/rlTitle"
android:background="@color/actionbar"
android:layout_width="match_parent"
android:layout_height="80px">
<ImageView
android:id="@+id/imgBack"
android:background="@drawable/ui_bg_rect"
android:layout_width="80px"
android:layout_height="80px"
android:src="@mipmap/icon_dialog_close"
android:scaleType="centerInside"/>
<TextView
android:textSize="18px"
android:textColor="@android:color/black"
android:id="@+id/tvTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/title_album"
android:layout_centerInParent="true"/>
<Button
android:enabled="false"
android:textColor="@android:color/white"
android:gravity="center"
android:id="@+id/btnCompleted"
android:background="@drawable/selector_btn_bg"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:layout_width="wrap_content"
android:layout_height="30dp"
android:layout_marginRight="16dp"
android:minWidth="48dp"
android:text="@string/done"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"/>
</RelativeLayout>
<GridView
android:id="@+id/gridView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="2dp"
android:horizontalSpacing="2dp"
android:verticalSpacing="2dp"
android:stretchMode="columnWidth"
android:columnWidth="120dp"
android:numColumns="auto_fit"/>
</LinearLayout>

View File

@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:background="@color/colorBlack"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.bottle.hp.album.photoview.HackyViewPager
android:id="@+id/hackyViewPager"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<RelativeLayout
android:layout_gravity="top"
android:id="@+id/rlActionBar"
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginLeft="16dp"
android:layout_marginTop="16dp"
android:layout_marginRight="16dp">
<TextView
android:textColor="@android:color/white"
android:gravity="center"
android:id="@+id/tvCurrent"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:minWidth="48dp"/>
<Button
android:enabled="false"
android:textSize="20sp"
android:textColor="@android:color/white"
android:gravity="center"
android:id="@+id/btnCompleted"
android:background="#00ffffff"
android:layout_width="wrap_content"
android:layout_height="30dp"
android:layout_marginRight="8dp"
android:minWidth="2dp"
android:layout_toLeftOf="@+id/cbChoose"
android:layout_centerVertical="true"/>
<CheckBox
android:textColor="@android:color/white"
android:id="@+id/cbChoose"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
style="@style/img_select_check"/>
</RelativeLayout>
<ImageView
android:layout_gravity="top|left"
android:id="@+id/imgBack"
android:background="@drawable/circle_shadow_ui"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_marginLeft="16dp"
android:layout_marginTop="16dp"
android:src="@mipmap/back"
android:scaleType="centerInside"/>
<ImageView
android:layout_gravity="top|right"
android:id="@+id/imgSelectVideo"
android:background="@drawable/selector_circle"
android:visibility="gone"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_marginTop="16dp"
android:layout_marginRight="16dp"
android:src="@mipmap/accept_capture"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"/>
</FrameLayout>

View File

@@ -0,0 +1,18 @@
<?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"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.ubt.jimu.widgets.NavigationBarView
android:id="@+id/nbv_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:nbv_mode="left_right"/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_album_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="@dimen/dp10"
android:layout_marginTop="@dimen/dp10"
android:layout_marginRight="@dimen/dp5"/>
</LinearLayout>

View File

@@ -0,0 +1,88 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:background="@color/color_FAFAFC"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_angle_list"
android:background="@color/color_FFFFFF"
android:paddingTop="@dimen/angle_set_title_mt"
android:layout_width="@dimen/angle_list_width"
android:layout_height="match_parent"/>
<RelativeLayout
android:id="@+id/rl_angle_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/btn_back_margin_top">
<ImageView
android:id="@+id/im_back"
android:layout_width="@dimen/round_button_width"
android:layout_height="@dimen/round_button_width"
android:layout_marginLeft="10dp"
android:layout_centerVertical="true"/>
<ImageView
android:id="@+id/angle_ok"
android:layout_width="@dimen/round_button_width"
android:layout_height="@dimen/round_button_width"
android:layout_marginRight="10dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"/>
<ImageView
android:id="@+id/angle_delete"
android:layout_width="@dimen/round_button_width"
android:layout_height="@dimen/round_button_width"
android:layout_marginRight="10dp"
android:layout_toLeftOf="@+id/angle_ok"
android:layout_centerVertical="true"/>
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_toRightOf="@+id/rv_angle_list"
android:layout_below="@+id/rl_angle_title">
<com.ubt.jimu.controller.component.AngleSetView
android:id="@+id/angle_set_view"
android:layout_width="@dimen/angle_set_width"
android:layout_height="@dimen/angle_set_width"
android:layout_marginTop="@dimen/angle_set_top"
android:layout_centerHorizontal="true"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/layout_default_page"
android:background="@color/bg_FAFAFA"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_toRightOf="@+id/rv_angle_list">
<ImageView
android:id="@+id/im_select_engine"
android:layout_width="@dimen/select_engine_width"
android:layout_height="@dimen/select_engine_width"
android:layout_centerInParent="true"/>
<TextView
android:textSize="@dimen/txt_size_18"
android:textColor="@color/txt_798487"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/select_engine_top"
android:text="@string/select_engine_txt"
android:layout_below="@+id/im_select_engine"
android:layout_centerHorizontal="true"/>
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toRightOf="@+id/rv_angle_list">
<TextView
android:textSize="@dimen/theme_18sp"
android:textColor="@color/theme_txt"
android:gravity="center"
android:id="@+id/tv_setting_title"
android:layout_width="wrap_content"
android:layout_height="@dimen/round_button_width"
android:layout_marginTop="@dimen/btn_back_margin_top"
android:text="@string/h_slider"
android:layout_centerHorizontal="true"/>
</RelativeLayout>
</RelativeLayout>

View File

@@ -0,0 +1,131 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@drawable/ar_game_list_background"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_centerHorizontal="true">
<ImageView
android:id="@+id/iv_little_girl"
android:layout_width="@dimen/game_little_girl_width"
android:layout_height="@dimen/game_little_girl_height"
android:layout_marginRight="@dimen/game_little_girl_margin_right"
android:layout_marginBottom="@dimen/game_little_girl_margin_bottom"
android:src="@drawable/little_girl"
android:scaleType="centerCrop"
android:layout_alignParentLeft="true"
android:layout_alignParentBottom="true"/>
<LinearLayout
android:orientation="horizontal"
android:id="@+id/ll_enter"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/dp_35"
android:layout_toRightOf="@+id/iv_little_girl"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true">
<TextView
android:id="@+id/img_rainbow_world"
android:background="@drawable/rainbow_world_enter"
android:layout_width="@dimen/game_enter_width"
android:layout_height="@dimen/game_enter_height"
android:layout_marginRight="@dimen/ar_game_enter_margin_right"
android:scaleType="centerCrop"
android:text="@string/rainbow_world"
style="@style/ar_game_card_txt"/>
<TextView
android:id="@+id/img_flower_world"
android:background="@drawable/flower_world_enter"
android:layout_width="@dimen/game_enter_width"
android:layout_height="@dimen/game_enter_height"
android:layout_marginRight="@dimen/ar_game_enter_margin_right"
android:scaleType="centerCrop"
android:text="@string/flower_world"
style="@style/ar_game_card_txt"/>
</LinearLayout>
</RelativeLayout>
<ImageView
android:id="@+id/iv_butterfly1"
android:layout_width="@dimen/ar_game_butterfly1_width_height"
android:layout_height="@dimen/ar_game_butterfly1_width_height"
android:layout_marginLeft="@dimen/ar_game_butterfly1_margin_left"
android:layout_marginTop="@dimen/ar_game_butterfly1_margin_top"
android:src="@drawable/anim_butterfly"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:alpha="0.6"
android:rotation="-54"/>
<ImageView
android:id="@+id/iv_butterfly2"
android:layout_width="@dimen/ar_game_butterfly2_width_height"
android:layout_height="@dimen/ar_game_butterfly2_width_height"
android:layout_marginLeft="@dimen/ar_game_butterfly2_margin_left"
android:layout_marginTop="@dimen/ar_game_butterfly2_margin_top"
android:src="@drawable/anim_butterfly"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:alpha="0.2"
android:rotation="-127"/>
<ImageView
android:id="@+id/iv_butterfly3"
android:layout_width="@dimen/ar_game_butterfly3_width_height"
android:layout_height="@dimen/ar_game_butterfly3_width_height"
android:layout_marginTop="@dimen/ar_game_butterfly3_margin_top"
android:layout_marginRight="@dimen/ar_game_butterfly3_margin_right"
android:src="@drawable/anim_butterfly"
android:layout_alignParentTop="true"
android:layout_alignParentRight="true"
android:alpha="1"
android:rotation="-113"/>
<ImageView
android:id="@+id/iv_butterfly4"
android:layout_width="@dimen/ar_game_butterfly4_width_height"
android:layout_height="@dimen/ar_game_butterfly4_width_height"
android:layout_marginRight="@dimen/ar_game_butterfly4_margin_right"
android:layout_marginBottom="@dimen/ar_game_butterfly4_margin_bottom"
android:src="@drawable/anim_butterfly"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:alpha="0.4"
android:rotation="-131"/>
<com.ubt.jimu.widgets.NavigationBarView
android:id="@+id/nbv_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:nbv_mode="left"
app:nbv_style="round"
app:nbv_title="@string/ar_game_title"/>
<RelativeLayout
android:gravity="center_vertical"
android:id="@+id/rl_warning"
android:background="@color/bg_B3000000"
android:layout_width="match_parent"
android:layout_height="@dimen/common_60dp"
android:layout_alignParentBottom="true">
<LinearLayout
android:gravity="center_vertical"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/common_14dp"
android:layout_marginRight="@dimen/common_14dp">
<ImageView
android:layout_width="@dimen/common_36dp"
android:layout_height="@dimen/common_32dp"
android:src="@drawable/ar_warning"
android:scaleType="centerCrop"/>
<TextView
android:textSize="@dimen/comm_txt_15sp"
android:textColor="@color/white"
android:gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/unicorn_AR_alert"/>
</LinearLayout>
</RelativeLayout>
<include
android:visibility="gone"
layout="@layout/layout_download"/>
</RelativeLayout>

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@color/theme_background"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.ubt.jimu.widgets.TitleDiyView
android:id="@+id/td_browse"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<LinearLayout
android:orientation="horizontal"
android:id="@+id/ll_bottom"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp250"
android:layout_marginRight="@dimen/dp250"
android:layout_marginBottom="@dimen/dp23"
android:layout_alignParentBottom="true">
<TextView
android:textColor="@color/bg_white"
android:gravity="center"
android:id="@+id/tv_again"
android:background="@drawable/sel_common_btn"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/dp46"
android:text="@string/browse_complete_again"
android:layout_weight="1"/>
<TextView
android:textColor="@color/bg_white"
android:gravity="center"
android:id="@+id/tv_complete"
android:background="@drawable/sel_common_btn"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="@string/complete"
android:layout_weight="1"/>
</LinearLayout>
<ImageView
android:id="@+id/img_bac"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="@dimen/dp250"
android:layout_marginTop="@dimen/dp63"
android:layout_marginRight="@dimen/dp250"
android:layout_marginBottom="@dimen/dp30"
android:scaleType="fitXY"
android:layout_above="@+id/ll_bottom"
android:layout_below="@+id/td_browse"
android:layout_centerHorizontal="true"/>
</RelativeLayout>

View File

@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@color/bg_2E3B55"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.ubt.jimu.widgets.TitleDiyView
android:id="@+id/td_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<TextView
android:textSize="@dimen/diy_input_text_size"
android:textColor="@color/bg_white"
android:id="@+id/tv_desc"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/diy_input_left"
android:layout_marginTop="47px"
android:text="@string/diy_build_desc"
android:layout_below="@+id/td_title"/>
<EditText
android:textSize="@dimen/diy_input_text_size"
android:textColor="@color/txt_98A5B6"
android:gravity="top"
android:layout_gravity="center_horizontal"
android:id="@+id/et_intro"
android:background="@drawable/shape_white"
android:paddingLeft="@dimen/diy_input_padding_left"
android:paddingTop="24px"
android:paddingRight="@dimen/diy_input_padding_left"
android:paddingBottom="24px"
android:layout_width="match_parent"
android:layout_height="@dimen/diy_input_height_2"
android:layout_marginLeft="@dimen/diy_input_left"
android:layout_marginTop="20px"
android:layout_marginRight="@dimen/diy_input_left"
android:hint="@string/diy_build_1"
android:maxLength="@integer/input_content_length"
android:layout_below="@+id/tv_desc"
android:inputType="textMultiLine"/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/ry_add"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/diy_input_left"
android:layout_marginTop="@dimen/dp_20"
android:layout_marginRight="@dimen/diy_input_left"
android:layout_below="@+id/et_intro"
style="@style/scrollbar_recyclerView_none"/>
<include layout="@layout/layout_diy_bottom"/>
</RelativeLayout>

View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:background="@color/bg_F9F9F9"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.ubt.jimu.widgets.TitleView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<com.recyclelib.URecyclerView
android:id="@+id/ur_collection"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/title"
style="@style/scrollbar_recyclerView_vertical"/>
<com.ubt.jimu.widgets.LoadingView
android:id="@+id/loading"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/title"/>
<LinearLayout
android:gravity="center"
android:orientation="horizontal"
android:id="@+id/xl_delete"
android:background="@drawable/action_button_background"
android:visibility="gone"
android:layout_width="@dimen/btn_width"
android:layout_height="@dimen/btn_height"
android:layout_marginBottom="@dimen/user_center_collection_delete_margin_bottom"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true">
<TextView
android:textSize="@dimen/title15"
android:textColor="@color/txt_white"
android:id="@+id/tv_collection_delete"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/collection_delete"/>
</LinearLayout>
</RelativeLayout>

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="vertical"
android:id="@+id/ll_right_box"
android:background="#f0f0f2"
android:layout_width="@dimen/setting_right_box"
android:layout_height="match_parent">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/iv_setting_back"
android:layout_width="@dimen/theme_navigation_size"
android:layout_height="@dimen/theme_navigation_size"
android:src="@drawable/setting_back_icon"/>
<TextView
android:textSize="@dimen/comm_txt_17sp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/setting_title"
android:layout_centerInParent="true"/>
</RelativeLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rcv_setting_right"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>
<FrameLayout
android:id="@+id/rl_setting_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_toRightOf="@+id/ll_right_box"/>
</RelativeLayout>

View File

@@ -0,0 +1,19 @@
<?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">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rlv_community_home"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/home_comm_margin_top"/>
<ImageView
android:id="@+id/im_inspire_publish"
android:layout_width="@dimen/publish_btn"
android:layout_height="@dimen/publish_btn"
android:layout_marginRight="@dimen/dp29w"
android:layout_marginBottom="@dimen/dp29w"
android:src="@drawable/img_publish"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"/>
</RelativeLayout>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:background="@color/bg_F2F2F2"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_inspire_creative"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_below="@+id/title_layout"
android:layout_centerInParent="true"/>
<com.ubt.jimu.widgets.LoadStateView
android:id="@+id/creatlve_loading"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<com.ubt.jimu.widgets.NavigationBarView
android:id="@+id/title_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:nbv_mode="left"
app:nbv_title="@string/inspire"/>
</RelativeLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@@ -0,0 +1,115 @@
<?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"
android:orientation="horizontal"
android:background="@color/color_background_gray"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:gravity="center_horizontal"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="38">
<RelativeLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/rl_component_list_header_margin_top_left"
android:layout_marginTop="@dimen/rl_component_list_header_margin_top_left">
<ImageView
android:id="@+id/iv_back"
android:layout_width="@dimen/theme_navigation_min_size"
android:layout_height="@dimen/theme_navigation_min_size"
android:src="@mipmap/icon_round_back"
android:scaleType="centerCrop"
android:layout_alignParentLeft="true"/>
<ImageView
android:id="@+id/iv_refresh"
android:layout_width="@dimen/theme_navigation_min_size"
android:layout_height="@dimen/theme_navigation_min_size"
android:src="@mipmap/refresh"
android:scaleType="centerCrop"
android:layout_alignParentRight="true"/>
<ImageView
android:id="@+id/iv_help"
android:visibility="invisible"
android:layout_width="@dimen/theme_navigation_min_size"
android:layout_height="@dimen/theme_navigation_min_size"
android:src="@mipmap/ic_help"
android:scaleType="centerCrop"
android:layout_toLeftOf="@+id/iv_refresh"/>
</RelativeLayout>
<LinearLayout
android:gravity="center_horizontal"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/ll_controller_margin_top"/>
<TextView
android:textSize="@dimen/comm_txt_15sp"
android:textColor="#ff596f80"
android:ellipsize="end"
android:gravity="center"
android:id="@+id/tv_model_name"
android:layout_width="@dimen/rl_component_list_title_width"
android:layout_height="wrap_content"
android:text=""
android:lines="1"/>
<RelativeLayout
android:background="@drawable/shape_component_background"
android:layout_width="@dimen/rl_component_list_controller_bg_width"
android:layout_height="@dimen/rl_component_list_controller_bg_height"
android:layout_marginTop="@dimen/rl_component_list_controller_bg_margin_top">
<ImageView
android:id="@+id/iv_battery_state"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/iv_battery_state_margin_top"
android:layout_marginRight="@dimen/iv_battery_state_margin_right"
android:layout_alignParentTop="true"
android:layout_alignParentRight="true"/>
<ImageView
android:id="@+id/iv_controller"
android:layout_width="@dimen/rl_component_list_controller_width"
android:layout_height="@dimen/rl_component_list_controller_height"
android:src="@drawable/controller"
android:scaleType="centerCrop"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"/>
<TextView
android:textSize="@dimen/comm_txt_15sp"
android:textColor="#ff596f80"
android:id="@+id/tv_controller_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/tv_controller_name_margin_top"
android:text="Jimu"
android:layout_below="@+id/iv_controller"
android:layout_centerHorizontal="true"/>
</RelativeLayout>
<com.ubtech.view.widget.UButton
android:layout_gravity="center_horizontal"
android:id="@+id/btn_ok"
android:layout_width="@dimen/rl_component_list_btn_ok_width"
android:layout_height="@dimen/rl_component_list_btn_ok_height"
android:layout_marginTop="@dimen/rl_component_list_btn_ok_margin_top"
android:layout_marginBottom="@dimen/rl_component_list_btn_ok_margin_bottom"
android:text="@string/ok"
style="@style/btn_blue_small_style"/>
</LinearLayout>
</RelativeLayout>
<RelativeLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="62">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_components_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="@dimen/rv_components_list_margin_left"
android:layout_marginTop="@dimen/rv_components_list_margin_top"/>
</RelativeLayout>
</LinearLayout>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/rl_connect"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</RelativeLayout>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@color/theme_background"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.ubt.jimu.controller.view.RemoteControlManagementView
android:id="@+id/control_management_view"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<include
android:visibility="visible"
layout="@layout/control_title_normal"/>
<include
android:visibility="gone"
layout="@layout/control_status"/>
</RelativeLayout>

View File

@@ -0,0 +1,15 @@
<?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"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.ubt.jimu.widgets.NavigationBarView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:nbv_mode="left"
app:nbv_title="@string/title_location_code"/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>

View File

@@ -0,0 +1,76 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:id="@+id/rootView"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/universe_bg"
android:scaleType="centerCrop"/>
<androidx.recyclerview.widget.RecyclerView
android:layout_gravity="center_vertical"
android:id="@+id/courseRecyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<ImageView
android:id="@+id/img_back"
android:layout_width="@dimen/star_trek_actionbar_size"
android:layout_height="@dimen/star_trek_actionbar_size"
android:layout_marginLeft="@dimen/actionbar_margin"
android:layout_marginTop="@dimen/actionbar_margin"
android:src="@mipmap/icon_round_back"
android:scaleType="fitCenter"
android:onClick="onBackFinishClick"/>
<TextView
android:textSize="24sp"
android:textColor="#101111"
android:gravity="center"
android:layout_gravity="center_horizontal"
android:id="@+id/title_textview"
android:layout_width="wrap_content"
android:layout_height="@dimen/star_trek_actionbar_size"
android:layout_marginTop="@dimen/actionbar_margin"/>
<ImageView
android:layout_gravity="right"
android:id="@+id/storyVideo"
android:layout_width="@dimen/star_trek_actionbar_size"
android:layout_height="@dimen/star_trek_actionbar_size"
android:layout_marginTop="@dimen/actionbar_margin"
android:layout_marginRight="@dimen/actionbar_margin"
android:src="@mipmap/play_blue"/>
<FrameLayout
android:gravity="center"
android:orientation="vertical"
android:id="@+id/downloadViewStub"
android:visibility="gone"
android:clickable="true"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/iv_background"
android:background="#99ffffff"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<LinearLayout
android:gravity="center"
android:orientation="vertical"
android:background="@color/bg_cc596F80"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/iv_loading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_loading"/>
<TextView
android:textSize="@dimen/title15"
android:textColor="@color/txt_white"
android:id="@+id/tv_progress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="2dp"/>
</LinearLayout>
</FrameLayout>
</FrameLayout>

View File

@@ -0,0 +1,129 @@
<?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"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:gravity="center_horizontal"
android:orientation="vertical"
android:background="@color/bg_ebebeb"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.ubt.jimu.widgets.NavigationBarView
android:id="@+id/nbv_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:nbv_mode="left"
app:nbv_title="@string/tab_title_discovery"/>
<LinearLayout
android:gravity="center"
android:layout_gravity="center"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:layout_width="234dp"
android:layout_height="160dp"
android:layout_marginRight="@dimen/dp_15">
<androidx.cardview.widget.CardView
android:id="@+id/astrobotLayout"
android:clickable="true"
android:layout_width="234dp"
android:layout_height="160dp"
android:foreground="?android:attr/selectableItemBackground"
android:layout_alignParentBottom="true"
app:cardCornerRadius="@dimen/corner_radius"
app:cardElevation="0dp">
<ImageView
android:background="@drawable/adventure_bg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"/>
<TextView
android:textSize="@dimen/text_size_16"
android:layout_marginLeft="20dp"
android:layout_marginBottom="20dp"
android:text="@string/tab_title_interstellar_adventure"
style="@style/card_text_left_bottom_style"/>
</androidx.cardview.widget.CardView>
<FrameLayout
android:id="@+id/mask_card_view"
android:background="@drawable/shape_corner_half_translucent"
android:visibility="gone"
android:layout_width="234dp"
android:layout_height="160dp">
<TextView
android:textSize="@dimen/text_size_14"
android:textColor="@color/bg_white"
android:layout_gravity="center"
android:id="@+id/downloadProgressTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</FrameLayout>
</FrameLayout>
<FrameLayout
android:background="@color/translucent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_15">
<androidx.cardview.widget.CardView
android:clickable="true"
android:layout_width="234dp"
android:layout_height="160dp"
android:foreground="?android:attr/selectableItemBackground"
android:layout_alignParentBottom="true"
app:cardCornerRadius="@dimen/corner_radius"
app:cardElevation="0dp">
<ImageView
android:background="@drawable/story_bg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"/>
<TextView
android:textSize="@dimen/text_size_16"
android:layout_marginLeft="20dp"
android:layout_marginBottom="20dp"
android:text="@string/tab_title_other_story"
style="@style/card_text_left_bottom_style"/>
<ImageView
android:layout_gravity="center"
android:layout_width="30dp"
android:layout_height="30dp"
android:src="@drawable/ic_story_lock"/>
</androidx.cardview.widget.CardView>
</FrameLayout>
</LinearLayout>
</LinearLayout>
<FrameLayout
android:gravity="center"
android:orientation="vertical"
android:id="@+id/downloadViewStub"
android:visibility="gone"
android:clickable="true"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/iv_background"
android:background="#99ffffff"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<LinearLayout
android:gravity="center"
android:orientation="vertical"
android:background="#99323232"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/iv_loading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_loading"/>
<TextView
android:textSize="@dimen/title_text_size"
android:textColor="@color/bg_black"
android:id="@+id/tv_progress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0%"/>
</LinearLayout>
</FrameLayout>
</FrameLayout>

View File

@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.viewpager.widget.ViewPager
android:id="@+id/viewPager"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<com.ubt.jimu.widgets.NavigationBarView
android:id="@+id/nbv_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:nbv_mode="left"/>
<LinearLayout
android:gravity="right"
android:orientation="horizontal"
android:id="@+id/llStep"
android:background="@color/bg_24A8FF"
android:layout_width="match_parent"
android:layout_height="@dimen/diy_browse_step_height"
android:layout_alignParentBottom="true">
<ImageView
android:id="@+id/imgPreviousStep"
android:paddingLeft="@dimen/diy_icon_back_margin_left"
android:paddingRight="@dimen/diy_icon_back_margin_left"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:src="@drawable/diy_browse_previous_step"
android:scaleType="centerInside"/>
<TextView
android:textSize="@dimen/theme_16sp"
android:textColor="@android:color/white"
android:gravity="center"
android:id="@+id/tvStep"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="1/10"/>
<ImageView
android:id="@+id/imgNextStep"
android:paddingLeft="@dimen/diy_icon_back_margin_left"
android:paddingRight="@dimen/diy_icon_back_margin_left"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:src="@drawable/diy_browse_next_step"
android:scaleType="centerInside"/>
</LinearLayout>
</RelativeLayout>

View File

@@ -0,0 +1,5 @@
<?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"
android:id="@+id/flContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"/>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/diy_comment_container"
android:layout_width="match_parent"
android:layout_height="match_parent"/>

View File

@@ -0,0 +1,5 @@
<?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"
android:id="@+id/diy_detail_container"
android:layout_width="match_parent"
android:layout_height="match_parent"/>

View File

@@ -0,0 +1,18 @@
<?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"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.ubt.jimu.widgets.NavigationBarView
android:id="@+id/nbv_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:nbv_mode="left"/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/ry_fan"
android:paddingLeft="@dimen/diy_list_hori_padding"
android:paddingRight="@dimen/diy_list_hori_padding"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/scrollbar_recyclerView_none"/>
</LinearLayout>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/flContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"/>

View File

@@ -0,0 +1,89 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@color/bg_566C7D"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.cardview.widget.CardView
android:layout_width="@dimen/dp750"
android:layout_height="@dimen/dp560"
android:layout_centerInParent="true"
app:cardBackgroundColor="@color/bg_white"
app:cardCornerRadius="@dimen/dp35"
app:cardElevation="@dimen/dp15">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:layout_gravity="center_horizontal"
android:id="@+id/rl_load_error"
android:background="@drawable/bg_ranking_20"
android:layout_width="@dimen/dp608"
android:layout_height="@dimen/dp336"
android:layout_marginTop="@dimen/dp73">
<ImageView
android:background="@drawable/load_image_error"
android:layout_width="@dimen/dp310"
android:layout_height="@dimen/dp290"
android:scaleType="centerInside"
android:layout_centerInParent="true"/>
</RelativeLayout>
<ImageView
android:layout_gravity="center_horizontal"
android:id="@+id/im_download_image"
android:layout_width="@dimen/dp310"
android:layout_height="@dimen/dp310"
android:layout_marginTop="@dimen/dp70"
android:scaleType="centerInside"
android:layout_centerInParent="true"/>
<LinearLayout
android:layout_gravity="bottom|center_horizontal"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/dp45">
<LinearLayout
android:layout_gravity="center_horizontal"
android:orientation="horizontal"
android:layout_width="@dimen/dp608"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/dp20"
android:layout_alignParentTop="true"
android:layout_alignParentStart="true">
<TextView
android:textSize="@dimen/dp30"
android:textStyle="bold"
android:textColor="@color/txt_304665"
android:id="@+id/tvModelDescription"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="Ayayay"
android:layout_weight="1"
android:transitionName="tv_robot_name_share"/>
<TextView
android:textSize="@dimen/dp25"
android:textColor="@color/txt_304665"
android:gravity="center"
android:id="@+id/tvProgress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="8dp"
android:text="0%"/>
</LinearLayout>
<ProgressBar
android:id="@+id/pgDownloadModel"
android:visibility="visible"
android:layout_width="@dimen/dp608"
android:layout_height="@dimen/dp17"
android:max="100"
android:progress="0"
android:progressDrawable="@drawable/progressbar"
style="?android:attr/progressBarStyleHorizontal"/>
</LinearLayout>
</FrameLayout>
<ViewStub
android:id="@+id/viewStub_download_error"
android:layout="@layout/viewstub_download_error_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</androidx.cardview.widget.CardView>
</RelativeLayout>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<com.ubt.jimu.widgets.screenAdaptive.XLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/title_bar"/>
<com.ubt.jimu.widgets.LoadingView
android:id="@+id/loading"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<com.recyclelib.URecyclerView
android:id="@+id/uv_drafts"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</com.ubt.jimu.widgets.screenAdaptive.XLinearLayout>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:background="@color/theme_background"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.ubt.jimu.widgets.NavigationBarView
android:id="@+id/nbv_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:nbv_mode="left_right"
app:nbv_title="@string/drafts"/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rlv_drafts_list"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/home_margin_left"
android:layout_marginRight="@dimen/home_margin_left"
android:layout_below="@+id/nbv_bar"/>
<ViewStub
android:id="@+id/vs_drafts_null"
android:layout="@layout/viewstub_drafts_content_null"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"/>
</RelativeLayout>

View File

@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@color/bg_2E3B55"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.ubt.jimu.widgets.TitleDiyView
android:id="@+id/title_final"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<TextView
android:textSize="@dimen/diy_input_text_size"
android:textColor="@color/bg_white"
android:id="@+id/tv_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/diy_input_left"
android:layout_marginTop="@dimen/diy_input_top"
android:text="@string/diy_final_picture"/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/ry_default"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/diy_input_left"
android:layout_marginTop="@dimen/dp_20"
android:layout_below="@+id/tv_title"
style="@style/scrollbar_recyclerView_none"/>
<androidx.cardview.widget.CardView
android:layout_width="@dimen/diy_input_card_width"
android:layout_height="wrap_content"
android:layout_marginLeft="11px"
android:layout_marginTop="@dimen/dp_20"
android:layout_marginBottom="15px"
android:layout_toRightOf="@+id/ry_default"
android:layout_below="@+id/tv_title"
android:layout_alignBottom="@+id/ry_default"
app:cardCornerRadius="30px"
app:cardElevation="10px">
<ImageView
android:id="@+id/img_select_pic"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"/>
<ImageView
android:layout_gravity="right"
android:id="@+id/img_delete"
android:background="@drawable/diy_build_delete"
android:visibility="visible"
android:layout_width="@dimen/diy_build_final_delete"
android:layout_height="@dimen/diy_build_final_delete"
android:layout_marginTop="@dimen/diy_build_final_left"
android:layout_marginRight="@dimen/diy_build_final_left"/>
<ImageView
android:layout_gravity="center"
android:id="@+id/img_add"
android:background="@drawable/diy_final_add"
android:layout_width="@dimen/diy_build_final_add_height"
android:layout_height="@dimen/diy_build_final_add_height"/>
</androidx.cardview.widget.CardView>
<include layout="@layout/layout_diy_bottom"/>
</RelativeLayout>

View File

@@ -0,0 +1,78 @@
<?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"
android:background="@color/theme_background"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:gravity="center"
android:layout_gravity="center"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<RelativeLayout
android:layout_marginTop="@dimen/dp10"
style="@style/theme_input_view_style">
<ImageView
android:id="@+id/im_telephone_icon"
android:background="@drawable/ic_email"
android:layout_width="@dimen/theme_input_icon_size"
android:layout_height="@dimen/theme_input_icon_size"
android:layout_centerVertical="true"/>
<com.ubt.jimu.widgets.ClearEditText
android:id="@+id/emailEditText"
android:layout_marginLeft="@dimen/theme_input_margin_left"
android:hint="@string/hint_email"
android:maxLength="30"
android:layout_toRightOf="@+id/im_telephone_icon"
android:layout_centerVertical="true"
android:inputType="textEmailAddress"
style="@style/theme_edit_text_style"/>
</RelativeLayout>
<RelativeLayout
android:orientation="horizontal"
android:id="@+id/captchaParent"
android:layout_marginTop="@dimen/dp10"
style="@style/theme_input_view_style">
<ImageView
android:id="@+id/im_captcha_icon"
android:background="@drawable/ic_captcha"
android:layout_width="@dimen/theme_input_icon_size"
android:layout_height="@dimen/theme_input_icon_size"
android:layout_centerVertical="true"/>
<TextView
android:textSize="@dimen/theme_11sp"
android:textColor="@color/theme_action_txt"
android:id="@+id/countDownTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/dp20w"
android:text="@string/get_captcha"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"/>
<View
android:id="@+id/splitLineView"
android:background="@color/color_community_line"
android:layout_width="@dimen/theme_input_divider_width"
android:layout_height="@dimen/theme_input_divider_height"
android:layout_marginRight="@dimen/dp15w"
android:layout_toLeftOf="@+id/countDownTextView"
android:layout_centerVertical="true"/>
<com.ubt.jimu.widgets.ClearEditText
android:id="@+id/captchaEditText"
android:layout_marginLeft="@dimen/theme_input_margin_left"
android:hint="@string/hint_input_captcha"
android:maxLength="6"
android:layout_toLeftOf="@+id/splitLineView"
android:layout_toRightOf="@+id/im_captcha_icon"
android:layout_centerVertical="true"
android:inputType="number"
style="@style/theme_edit_text_style"/>
</RelativeLayout>
</LinearLayout>
<com.ubt.jimu.widgets.NavigationBarView
android:id="@+id/nbv_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:nbv_mode="left_right"
app:nbv_title="@string/title_email_update"/>
</FrameLayout>

View File

@@ -0,0 +1,126 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@color/bg_FAFAFC"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.ubt.jimu.widgets.NavigationBarView
android:id="@+id/nbv_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:nbv_mode="left"
app:nbv_title="@string/setting_feedback"/>
<LinearLayout
android:gravity="center"
android:orientation="horizontal"
android:id="@+id/xl_selected"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp70"
android:layout_below="@+id/nbv_bar"
android:layout_centerHorizontal="true">
<TextView
android:textColor="@color/bg_white"
android:id="@+id/tv_suggests"
android:text="@string/setting_suggests"
style="@style/tv_feedback_style"/>
<TextView
android:textSize="@dimen/dp25"
android:gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp15"
android:layout_marginRight="@dimen/dp15"
android:text="@string/setting_or"/>
<TextView
android:textColor="@color/bg_596F80"
android:id="@+id/tv_service"
android:background="@drawable/slt_feed_product"
android:text="@string/setting_sale"
style="@style/tv_feedback_style"/>
</LinearLayout>
<RelativeLayout
android:id="@+id/card_email"
style="@style/setting_feedback_email">
<LinearLayout
android:gravity="center_vertical"
android:orientation="horizontal"
android:id="@+id/xl_email"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true">
<TextView
android:textSize="@dimen/dp25"
android:textColor="@color/bg_596F80"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp40"
android:text="@string/setting_email"/>
<EditText
android:textSize="@dimen/dp25"
android:textColor="@color/bg_96A6B4"
android:textColorHint="@color/txt_98A5B6"
android:id="@+id/et_email"
android:background="@color/translucent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp70"
android:layout_marginRight="@dimen/dp40"
android:hint="@string/setting_input_email"
android:singleLine="true"
android:maxLength="30"
android:inputType="text"
android:imeOptions="flagNoFullscreen|actionNext"/>
</LinearLayout>
</RelativeLayout>
<RelativeLayout
android:id="@+id/card_feedback"
android:layout_width="@dimen/dp700w"
android:layout_height="@dimen/dp208"
android:layout_marginTop="@dimen/dp20"
android:layout_below="@+id/card_email"
android:layout_centerHorizontal="true">
<LinearLayout
android:orientation="horizontal"
android:id="@+id/xl_feedback"
android:background="@drawable/bg_community_diy"
android:paddingTop="@dimen/dp20"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerHorizontal="true">
<TextView
android:textSize="@dimen/dp25"
android:textColor="@color/bg_596F80"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp40"
android:layout_marginTop="@dimen/dp5"
android:text="@string/setting_feedback"/>
<EditText
android:textSize="@dimen/dp25"
android:textColor="@color/bg_596F80"
android:textColorHint="@color/txt_98A5B6"
android:gravity="top"
android:id="@+id/et_feedback"
android:background="@color/translucent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="@dimen/dp70"
android:layout_marginTop="@dimen/dp5"
android:layout_marginRight="@dimen/dp40"
android:hint="@string/setting_input_something"
android:maxLength="500"
android:imeOptions="flagNoFullscreen|actionSend"/>
</LinearLayout>
</RelativeLayout>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/card_feedback">
<com.ubtech.view.widget.UButton
android:layout_gravity="center"
android:id="@+id/xl_send"
android:text="@string/setting_send"
android:layout_centerHorizontal="true"
style="@style/btn_blue_middle_style"/>
</FrameLayout>
</RelativeLayout>

View File

@@ -0,0 +1,146 @@
<?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"
android:focusable="true"
android:focusableInTouchMode="true"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:gravity="center"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:paddingLeft="6dp"
android:paddingRight="6dp"
android:layout_width="@dimen/theme_input_width"
android:layout_height="wrap_content">
<RelativeLayout
android:id="@+id/rl_tips_input_error"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/theme_14dp">
<TextView
android:textSize="@dimen/theme_input_txt"
android:textColor="#ff0000"
android:gravity="center_vertical"
android:layout_width="wrap_content"
android:layout_height="@dimen/theme_input_height"
android:layout_marginLeft="@dimen/theme_input_margin_left"
android:text="@string/tips_account_error"
android:layout_centerVertical="true"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/countryCodeParent"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/theme_14dp">
<TextView
android:textSize="@dimen/theme_btn_txt"
android:textColor="@color/txt_00A9FF"
android:ellipsize="end"
android:id="@+id/countryCodeTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/theme_input_margin_left"
android:text="中国+86"
android:singleLine="true"/>
<ImageView
android:id="@+id/rightArrowImageView"
android:layout_width="@dimen/dp15"
android:layout_height="@dimen/dp15"
android:layout_marginLeft="@dimen/dp20"
android:src="@drawable/arrow_blue_right"
android:layout_toRightOf="@+id/countryCodeTextView"
android:layout_centerVertical="true"/>
</RelativeLayout>
</RelativeLayout>
<LinearLayout
android:orientation="horizontal"
android:id="@+id/accountParent"
style="@style/theme_input_view_style">
<ImageView
android:background="@drawable/ic_account"
android:layout_width="@dimen/theme_input_icon_size"
android:layout_height="@dimen/theme_input_icon_size"/>
<com.ubt.jimu.widgets.ClearEditText
android:id="@+id/accountEditText"
android:layout_marginLeft="@dimen/theme_input_margin_left"
android:hint="@string/hint_account"
android:inputType="textEmailAddress"
style="@style/theme_edit_text_style"/>
</LinearLayout> &gt;
<RelativeLayout
android:id="@+id/captchaParent"
style="@style/theme_input_view_style">
<ImageView
android:id="@+id/captchaTipView"
android:background="@drawable/ic_captcha"
android:layout_width="@dimen/theme_input_icon_size"
android:layout_height="@dimen/theme_input_icon_size"
android:layout_centerVertical="true"/>
<TextView
android:textSize="@dimen/theme_11sp"
android:textColor="@color/theme_action_txt"
android:id="@+id/countDownTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="6dp"
android:layout_marginRight="@dimen/theme_input_margin_right"
android:text="@string/get_captcha"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"/>
<View
android:id="@+id/splitLineView"
android:background="@color/theme_divider_line"
android:layout_width="@dimen/theme_input_divider_width"
android:layout_height="@dimen/theme_input_divider_height"
android:layout_toLeftOf="@+id/countDownTextView"
android:layout_centerVertical="true"/>
<com.ubt.jimu.widgets.ClearEditText
android:id="@+id/captchaEditText"
android:layout_marginLeft="@dimen/theme_input_margin_left"
android:hint="@string/hint_input_captcha"
android:maxLength="6"
android:layout_toLeftOf="@+id/splitLineView"
android:layout_toRightOf="@+id/captchaTipView"
android:layout_centerVertical="true"
android:inputType="number"
style="@style/theme_edit_text_style"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/passwordParent"
style="@style/theme_input_view_style">
<ImageView
android:id="@+id/passwordTipView"
android:background="@drawable/ic_password"
android:layout_width="@dimen/theme_input_icon_size"
android:layout_height="@dimen/theme_input_icon_size"
android:layout_centerVertical="true"/>
<ImageView
android:id="@+id/eyeImageView"
android:background="@drawable/ic_eye_show"
android:layout_width="@dimen/theme_input_icon_size"
android:layout_height="@dimen/theme_input_icon_size"
android:layout_marginRight="@dimen/theme_input_margin_right"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"/>
<com.ubt.jimu.widgets.ClearEditText
android:id="@+id/passwordEditText"
android:layout_marginLeft="@dimen/theme_input_margin_left"
android:hint="@string/hint_password"
android:maxLength="15"
android:layout_toLeftOf="@+id/eyeImageView"
android:layout_toRightOf="@+id/passwordTipView"
android:inputType="textPassword"
style="@style/theme_edit_text_style"/>
</RelativeLayout>
</LinearLayout>
<com.ubt.jimu.widgets.NavigationBarView
android:id="@+id/nbv_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:nbv_mode="left_right"
app:nbv_title="@string/find_password"/>
</FrameLayout>

View File

@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:id="@+id/activity_gallery"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="48dp">
<TextView
android:gravity="center"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:minWidth="60dp"
android:text="相册"/>
<Spinner
android:id="@+id/spinner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minWidth="120dp"/>
<Space
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1"/>
<TextView
android:gravity="center"
android:id="@+id/tv_preview"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="预览"/>
</LinearLayout>
<GridView
android:gravity="fill"
android:id="@+id/grid_view"
android:background="@android:color/background_dark"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:horizontalSpacing="2dp"
android:verticalSpacing="2dp"
android:stretchMode="columnWidth"
android:columnWidth="90dp"
android:numColumns="auto_fit"
android:layout_weight="1"/>
</LinearLayout>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.bottle.hp.album.photoview.HackyViewPager
android:id="@+id/hackyViewPager"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>

View File

@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:gravity="center_vertical"
android:orientation="vertical"
android:background="@drawable/rainbow_home_background"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.ubt.jimu.widgets.NavigationBarView
android:id="@+id/nbv_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:nbv_mode="left"/>
<LinearLayout
android:orientation="vertical"
android:background="@drawable/reel_background"
android:layout_width="448dp"
android:layout_height="446dp"
android:layout_marginTop="36dp"
android:layout_marginRight="135dp"
android:layout_marginBottom="18dp"
android:layout_alignParentRight="true">
<LinearLayout
android:gravity="center"
android:orientation="vertical"
android:layout_width="248dp"
android:layout_height="308dp"
android:layout_below="@+id/nbv_bar">
<Button
android:id="@+id/btn_help"
android:background="@color/transparent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="How to play"
android:textAllCaps="false"/>
<Button
android:id="@+id/btn_my_reward"
android:background="@color/transparent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="My Reward"
android:textAllCaps="false"/>
<Button
android:id="@+id/btn_beginner"
android:background="@color/transparent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Beginner"
android:textAllCaps="false"/>
<Button
android:id="@+id/btn_option"
android:background="@color/transparent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Option"
android:textAllCaps="false"/>
<Button
android:id="@+id/btn_start"
android:background="@color/transparent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Start"
android:textAllCaps="false"/>
</LinearLayout>
</LinearLayout>
</RelativeLayout>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<android.widget.FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/frameLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"/>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/xl_top"
android:background="@color/theme_background"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/hot_top"/>
<androidx.viewpager.widget.ViewPager
android:id="@+id/vp_hot"
android:paddingTop="@dimen/dp4"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="@dimen/comm_item_margin_hor"
android:layout_marginRight="@dimen/comm_item_margin_hor"
android:layout_below="@+id/rl_top"/>
<com.ubt.jimu.widgets.LoadingView
android:id="@+id/loading"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/rl_top"/>
</RelativeLayout>

View File

@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/rootView"
android:background="@color/bg_cc596F80"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.constraintlayout.widget.Guideline
android:orientation="vertical"
android:id="@+id/guidelineV219"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintGuide_percent="@dimen/user_center_fans_percent_left"/>
<androidx.constraintlayout.widget.Guideline
android:orientation="vertical"
android:id="@+id/guidelineV781"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintGuide_percent="@dimen/user_center_fans_percent_right"/>
<androidx.constraintlayout.widget.Guideline
android:orientation="horizontal"
android:id="@+id/guidelineH132"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintGuide_percent="@dimen/user_center_fans_percent_top"/>
<androidx.constraintlayout.widget.Guideline
android:orientation="horizontal"
android:id="@+id/guidelineH868"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintGuide_percent="@dimen/user_center_fans_percent_bottom"/>
<androidx.cardview.widget.CardView
android:layout_gravity="center"
android:id="@+id/centerCardView"
android:clickable="true"
android:layout_width="0dp"
android:layout_height="0dp"
android:alpha="1"
app:cardCornerRadius="@dimen/user_center_fans_bg_corner"
app:cardElevation="0dp"
app:layout_constraintBottom_toTopOf="@+id/guidelineH868"
app:layout_constraintLeft_toRightOf="@+id/guidelineV219"
app:layout_constraintRight_toLeftOf="@+id/guidelineV781"
app:layout_constraintTop_toBottomOf="@+id/guidelineH132">
<FrameLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<androidx.viewpager.widget.ViewPager
android:id="@+id/interestFansViewPager"
android:background="@color/bg_F9F9F9"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/action_bar_height"/>
<LinearLayout
android:background="@color/bg_F9F9F9"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.ubt.jimu.main.widget.TabBarView
android:layout_gravity="center"
android:id="@+id/tabBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/user_center_fans_item_left_margin"
android:layout_marginRight="@dimen/user_center_fans_item_right_margin"
app:tb_textArray="@array/tab_fans"
app:tb_textColor="@color/txt_00A9FF"
app:tb_textSelectedColor="@color/theme_txt_orange"
app:tb_textSize="@dimen/title15"/>
</LinearLayout>
</FrameLayout>
</androidx.cardview.widget.CardView>
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -0,0 +1,181 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/rootView"
android:fitsSystemWindows="true"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.appbar.AppBarLayout
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
android:id="@+id/appBarLayout"
android:fitsSystemWindows="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:elevation="0dp">
<com.google.android.material.appbar.CollapsingToolbarLayout
android:id="@+id/collapsingToolbarLayout"
android:focusable="false"
android:focusableInTouchMode="false"
android:fitsSystemWindows="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:contentScrim="@color/translucent"
app:layout_scrollFlags="exitUntilCollapsed|scroll">
<FrameLayout
android:gravity="center_horizontal"
android:orientation="vertical"
android:fitsSystemWindows="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_collapseMode="parallax"
app:layout_collapseParallaxMultiplier="1">
<ImageView
android:id="@+id/contentImageView"
android:background="#f7f8f8"
android:fitsSystemWindows="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<ImageView
android:layout_gravity="center"
android:id="@+id/videoImageView"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/list_video_logo_pad"/>
<LinearLayout
android:gravity="center_vertical"
android:layout_gravity="bottom|left"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="20dp">
<TextView
android:textSize="12sp"
android:textColor="@android:color/white"
android:background="#3ac6ea"
android:paddingLeft="12dp"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="@string/activity_time_activity"/>
<TextView
android:textSize="12sp"
android:textColor="#ffffff"
android:id="@+id/timeTextView"
android:background="#99101111"
android:paddingRight="12dp"
android:layout_width="wrap_content"
android:layout_height="match_parent"/>
</LinearLayout>
<LinearLayout
android:gravity="center_vertical"
android:layout_gravity="bottom|right"
android:orientation="horizontal"
android:background="#99101111"
android:paddingLeft="12dp"
android:paddingRight="12dp"
android:layout_width="wrap_content"
android:layout_height="20dp">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_num_join"/>
<TextView
android:textSize="12sp"
android:textColor="@android:color/white"
android:gravity="center"
android:id="@+id/joinCountTextView"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginLeft="5dp"
android:text="0"/>
</LinearLayout>
</FrameLayout>
<androidx.appcompat.widget.Toolbar
android:gravity="center"
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="@dimen/dp85"
app:contentInsetStart="0dp"
app:layout_collapseMode="pin"
app:layout_scrollFlags="exitUntilCollapsed|scroll"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light">
<ImageView
android:layout_gravity="center"
android:id="@+id/backImageView"
android:layout_width="@dimen/dp85"
android:layout_height="@dimen/dp85"
android:src="@drawable/ic_back"
android:onClick="onBack"/>
<ImageView
android:layout_gravity="center"
android:id="@+id/shareImageView"
android:layout_width="@dimen/dp85"
android:layout_height="@dimen/dp85"
android:src="@drawable/community_publish_share"
android:onClick="onShareAction"/>
</androidx.appcompat.widget.Toolbar>
<TextView
android:textSize="@dimen/dp33"
android:textColor="#101111"
android:ellipsize="end"
android:gravity="center"
android:layout_gravity="top|center_horizontal"
android:id="@+id/titleTextView"
android:layout_width="wrap_content"
android:layout_height="@dimen/dp85"
android:singleLine="true"
app:layout_collapseMode="pin"
app:layout_scrollFlags="exitUntilCollapsed|scroll"/>
</com.google.android.material.appbar.CollapsingToolbarLayout>
<View
android:layout_gravity="bottom"
android:id="@+id/dividerLine"
android:background="#eeeeee"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="2px"/>
<com.google.android.material.tabs.TabLayout
android:layout_gravity="bottom"
android:id="@+id/tabLayout"
android:background="#ffffff"
android:focusable="false"
android:fitsSystemWindows="true"
android:layout_width="match_parent"
android:layout_height="@dimen/dp85"
app:layout_scrollFlags="enterAlways|scroll"
app:tabGravity="fill"
app:tabIndicatorColor="@color/tab_indicator_color"
app:tabMaxWidth="0dp"
app:tabMode="fixed"
app:tabSelectedTextColor="@color/tab_indicator_color"
app:tabTextColor="@color/tab_text_color"/>
<View
android:layout_gravity="bottom"
android:background="#eeeeee"
android:visibility="visible"
android:layout_width="match_parent"
android:layout_height="2px"/>
</com.google.android.material.appbar.AppBarLayout>
<androidx.viewpager.widget.ViewPager
android:id="@+id/advertViewPager"
android:fadingEdge="none"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
<ImageView
android:layout_gravity="bottom|right"
android:id="@+id/commentImageView"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginRight="10dp"
android:layout_marginBottom="50dp"
android:src="@drawable/ic_button_comment"
android:onClick="onCommentAction"/>
<ImageView
android:layout_gravity="bottom|right"
android:id="@+id/publishImageView"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginRight="10dp"
android:layout_marginBottom="10dp"
android:src="@drawable/img_publish"
android:onClick="onPublishAction"/>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@@ -0,0 +1,84 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/rlContainer"
android:background="@color/bg_2E3B55"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/rlActionBar"
android:paddingLeft="@dimen/course_back_left_right"
android:paddingRight="@dimen/course_back_left_right"
android:layout_width="match_parent"
android:layout_height="@dimen/action_bar_height"
android:layout_marginTop="@dimen/course_back_top">
<ImageView
android:layout_gravity="top|left"
android:id="@+id/imgBack"
android:layout_width="@dimen/course_back"
android:layout_height="@dimen/course_back"
android:src="@drawable/diy_title_back"
android:scaleType="fitCenter"/>
<TextView
android:textSize="@dimen/txt_title_1"
android:textColor="@android:color/white"
android:gravity="center"
android:id="@+id/tvTitle"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="@string/title_all_course"
android:layout_centerHorizontal="true"/>
<FrameLayout
android:layout_gravity="top|right"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/course_back_left_right"
android:layout_alignParentRight="true">
<ImageView
android:layout_gravity="center"
android:id="@+id/imgConnectRobotBg"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/connection_status_bg"
android:minWidth="@dimen/course_robot_connection_status"
android:minHeight="@dimen/course_robot_connection_status"/>
<ImageView
android:layout_gravity="center"
android:id="@+id/imgConnectRobot"
android:padding="4dp"
android:layout_width="@dimen/course_robot_connection_status"
android:layout_height="@dimen/course_robot_connection_status"
android:src="@drawable/robot_not_connect"
android:scaleType="fitCenter"/>
<ImageView
android:layout_gravity="center"
android:id="@+id/imgPowerState"
android:visibility="gone"
android:layout_width="@dimen/course_robot_connection_status"
android:layout_height="@dimen/course_robot_connection_status"/>
<ImageView
android:layout_gravity="bottom|right"
android:id="@+id/imgRobotStatus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/robot_can_change"/>
</FrameLayout>
</RelativeLayout>
<at.technikum.mti.fancycoverflow.FancyCoverFlow
android:id="@+id/fancyCoverFlow"
android:layout_width="match_parent"
android:layout_height="435.5dp"
android:layout_centerVertical="true"/>
<com.ubt.jimu.widgets.LoadingView
android:layout_gravity="center"
android:id="@+id/loadingView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/rlActionBar"/>
<include layout="@layout/include_task_guide_layout"/>
<View
android:id="@+id/view_prevent_onclock"
android:background="@color/translucent"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</RelativeLayout>

View File

@@ -0,0 +1,90 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/rlContainer"
android:background="@color/bg_FAFAFC"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/llHeader"
android:paddingLeft="@dimen/course_actionbar_margin"
android:paddingRight="@dimen/course_actionbar_margin"
android:layout_width="match_parent"
android:layout_height="@dimen/action_bar_height">
<ImageView
android:id="@+id/imgBack"
android:background="@drawable/icon_back"
android:layout_width="@dimen/action_bar_height"
android:layout_height="@dimen/action_bar_height"/>
<FrameLayout
android:layout_gravity="top|right"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/course_back_left_right"
android:layout_alignParentRight="true">
<ImageView
android:layout_gravity="center"
android:id="@+id/imgConnectRobot"
android:layout_width="@dimen/action_bar_height"
android:layout_height="@dimen/action_bar_height"
android:src="@mipmap/bluetooth_disconnected"
android:scaleType="fitCenter"/>
<ImageView
android:layout_gravity="center"
android:id="@+id/imgPowerState"
android:visibility="gone"
android:layout_width="@dimen/action_bar_height"
android:layout_height="@dimen/action_bar_height"/>
</FrameLayout>
<TextView
android:textSize="@dimen/title15"
android:textStyle="bold"
android:textColor="@color/txt_596F80"
android:gravity="center"
android:id="@+id/tvTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=""
android:layout_centerInParent="true"/>
</RelativeLayout>
<RelativeLayout
android:orientation="horizontal"
android:id="@+id/rlTask"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/llHeader">
<androidx.viewpager.widget.ViewPager
android:id="@+id/viewPager"
android:clipChildren="false"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<ImageView
android:id="@+id/imgPreviousPage"
android:visibility="invisible"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/course_actionbar_margin"
android:scaleType="centerInside"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"/>
<ImageView
android:id="@+id/imgNextPage"
android:visibility="invisible"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/course_actionbar_margin"
android:scaleType="centerInside"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"/>
<com.ubt.jimu.widgets.LoadingView
android:id="@+id/loadingView"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</RelativeLayout>
<ImageView
android:id="@+id/imgDecorate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/course_task_decorate"
android:layout_alignParentBottom="true"/>
</RelativeLayout>

View File

@@ -0,0 +1,82 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:id="@+id/cv_item"
android:background="@drawable/white_card_background"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/dp_10">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/coverImageView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"/>
<RelativeLayout
android:layout_gravity="bottom"
android:paddingLeft="@dimen/dp_10"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/dp_5">
<FrameLayout
android:gravity="center"
android:orientation="horizontal"
android:id="@+id/joinUserLayout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"/>
<TextView
android:textSize="10sp"
android:textColor="@android:color/white"
android:id="@+id/joinCountTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_5"
android:layout_toRightOf="@+id/joinUserLayout"
android:layout_centerVertical="true"/>
<TextView
android:textSize="16sp"
android:textColor="@android:color/white"
android:id="@+id/dateTimeTextView"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawableLeft="@drawable/ic_act_clock"
android:drawablePadding="@dimen/dp_10"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"/>
</RelativeLayout>
<TextView
android:textSize="@dimen/dp20"
android:textColor="@android:color/white"
android:gravity="center"
android:layout_gravity="top|left"
android:id="@+id/statusTextView"
android:paddingRight="@dimen/dp_10"
android:layout_width="80dp"
android:layout_height="25dp"
android:layout_marginTop="@dimen/dp_10"/>
</FrameLayout>
<LinearLayout
android:layout_gravity="top|left"
android:orientation="vertical"
android:paddingLeft="@dimen/dp_20"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:textSize="@dimen/txt_size_16"
android:textColor="@color/txt_1d2c42"
android:ellipsize="end"
android:gravity="center"
android:id="@+id/titleTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minHeight="50dp"
android:text="Activity"
android:maxLines="1"
android:singleLine="true"/>
</LinearLayout>
</LinearLayout>

View File

@@ -0,0 +1,134 @@
<?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"
android:gravity="center_horizontal"
android:orientation="vertical"
android:id="@+id/rootView"
android:focusable="true"
android:focusableInTouchMode="true"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.ubt.jimu.widgets.NavigationBarView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:nbv_mode="left"
app:nbv_title="@string/login"/>
<LinearLayout
android:gravity="center"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:paddingLeft="6dp"
android:paddingRight="6dp"
android:layout_width="@dimen/theme_input_width"
android:layout_height="wrap_content">
<RelativeLayout
android:id="@+id/rl_tips_input_error"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/theme_14dp">
<TextView
android:textSize="@dimen/theme_input_txt"
android:textColor="#ff0000"
android:gravity="center_vertical"
android:layout_width="wrap_content"
android:layout_height="@dimen/theme_input_height"
android:layout_marginLeft="@dimen/theme_input_margin_left"
android:text="@string/tips_account_error"
android:layout_centerVertical="true"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/countryCodeParent"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/theme_14dp">
<TextView
android:textSize="@dimen/theme_input_txt"
android:textColor="@color/txt_00A9FF"
android:textColorHint="@color/txt_00A9FF"
android:gravity="center_vertical"
android:id="@+id/countryCodeTextView"
android:layout_width="wrap_content"
android:layout_height="@dimen/theme_input_height"
android:hint="@string/location_tips_text"
android:layout_centerVertical="true"/>
<ImageView
android:id="@+id/rightArrowImageView"
android:layout_width="@dimen/dp15"
android:layout_height="@dimen/dp15"
android:layout_marginLeft="@dimen/dp20"
android:src="@drawable/arrow_blue_right"
android:layout_toRightOf="@+id/countryCodeTextView"
android:layout_centerVertical="true"/>
</RelativeLayout>
</RelativeLayout>
<LinearLayout
android:orientation="horizontal"
android:id="@+id/accountParent"
style="@style/theme_input_view_style">
<ImageView
android:background="@drawable/ic_account"
android:layout_width="@dimen/theme_input_icon_size"
android:layout_height="@dimen/theme_input_icon_size"/>
<com.ubt.jimu.widgets.ClearEditText
android:id="@+id/phoneEditText"
android:layout_marginLeft="@dimen/theme_input_margin_left"
android:hint="@string/hint_account"
android:maxEms="30"
android:inputType="textEmailAddress"
style="@style/theme_edit_text_style"/>
</LinearLayout>
<RelativeLayout
android:id="@+id/passwordParent"
style="@style/theme_input_view_style">
<ImageView
android:id="@+id/img_icon"
android:background="@drawable/ic_password"
android:layout_width="@dimen/theme_input_icon_size"
android:layout_height="@dimen/theme_input_icon_size"
android:layout_centerVertical="true"/>
<TextView
android:textSize="@dimen/theme_11sp"
android:textColor="@color/theme_action_txt"
android:gravity="center"
android:id="@+id/findPwdTextView"
android:layout_width="wrap_content"
android:layout_height="@dimen/theme_input_height"
android:layout_marginLeft="6dp"
android:layout_marginRight="10dp"
android:text="@string/find_password"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"/>
<View
android:background="@color/theme_divider_line"
android:layout_width="@dimen/theme_input_divider_width"
android:layout_height="@dimen/theme_input_divider_height"
android:layout_toLeftOf="@+id/findPwdTextView"
android:layout_centerVertical="true"/>
<com.ubt.jimu.widgets.ClearEditText
android:id="@+id/passwordEditText"
android:layout_marginLeft="@dimen/theme_input_margin_left"
android:hint="@string/hint_password"
android:layout_centerVertical="true"
android:inputType="textPassword"
android:layout_toStartOf="@+id/findPwdTextView"
android:layout_toEndOf="@+id/img_icon"
style="@style/theme_edit_text_style"/>
</RelativeLayout>
<com.ubtech.view.widget.UButton
android:id="@+id/loginLayout"
android:layout_marginTop="18dp"
android:text="@string/login"
style="@style/btn_blue_large_style"/>
<com.ubt.jimu.widgets.ThirdLoginView
android:gravity="center_vertical"
android:layout_gravity="center_horizontal"
android:orientation="horizontal"
android:id="@+id/thirdLogin"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="13dp"/>
</LinearLayout>
</LinearLayout>

View File

@@ -0,0 +1,97 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:background="@android:color/black"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:background="@android:color/black"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<SurfaceView
android:layout_gravity="center"
android:id="@+id/activity_media_player_surface"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<ImageView
android:id="@+id/activity_media_player_img_snagshot"
android:background="@android:color/black"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<LinearLayout
android:gravity="center"
android:layout_gravity="bottom"
android:orientation="horizontal"
android:id="@+id/activity_media_player_layout_control"
android:background="#55eeeeee"
android:layout_width="match_parent"
android:layout_height="40dp">
<ImageView
android:id="@+id/activity_media_player_img_start"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/video_start"/>
<ProgressBar
android:id="@+id/activity_media_player_pb"
android:layout_width="300dp"
android:layout_height="4dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:progressDrawable="@drawable/progress_line"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
style="?android:attr/progressBarStyleHorizontal"/>
<TextView
android:id="@+id/activity_media_player_tv_reset"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="00:00"/>
</LinearLayout>
<ImageView
android:id="@+id/activity_media_player_img_back"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_marginLeft="16dp"
android:layout_marginTop="16dp"
android:src="@mipmap/video_player_back"
android:scaleType="centerInside"
android:layout_marginStart="16dp"/>
<ImageView
android:layout_gravity="center"
android:id="@+id/activity_media_player_img_play"
android:background="@mipmap/play_video"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<LinearLayout
android:gravity="center"
android:layout_gravity="center"
android:orientation="vertical"
android:id="@+id/rl_error"
android:background="@android:color/white"
android:visibility="gone"
android:layout_width="300dp"
android:layout_height="150dp">
<TextView
android:gravity="center"
android:id="@+id/tv_unknown_error"
android:background="@android:color/transparent"
android:layout_width="match_parent"
android:layout_height="0dp"
android:text="网络错误,稍后再试"
android:layout_weight="1"/>
<TextView
android:background="#aabbbbbb"
android:layout_width="match_parent"
android:layout_height="1px"/>
<TextView
android:textColor="@drawable/selector_txt_states"
android:gravity="center"
android:id="@+id/tv_retry"
android:background="@android:color/transparent"
android:layout_width="match_parent"
android:layout_height="40dp"
android:text="重试"
android:layout_below="@+id/tv_unknown_error"/>
</LinearLayout>
</FrameLayout>

View File

@@ -0,0 +1,45 @@
<?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"
android:orientation="vertical"
android:id="@+id/flContainer"
android:background="@color/bg_F9F9F9"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/msg_tab_height">
<androidx.viewpager.widget.ViewPager
android:id="@+id/viewPager"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/msg_tab_height_add"/>
<ImageView
android:id="@+id/indicator"
android:visibility="invisible"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/indicator"
android:scaleType="fitCenter"/>
</FrameLayout>
<TableLayout
android:id="@+id/tabLayout"
android:background="@color/bg_F9F9F9"
android:layout_width="match_parent"
android:layout_height="@dimen/msg_tab_height"
app:tabBackground="@android:color/transparent"
app:tabGravity="center"
app:tabIndicatorColor="@color/bg_FFAD42"
app:tabIndicatorHeight="0dp"
app:tabMaxWidth="0dp"
app:tabPaddingEnd="@dimen/msg_tab_margin"
app:tabPaddingStart="@dimen/msg_tab_margin"
app:tabSelectedTextColor="@color/bg_FFAD42"
app:tabTextColor="@color/txt_00A9FF"/>
<ImageView
android:id="@+id/imgBack"
android:background="@mipmap/combined_shape_pad"
android:layout_width="@dimen/theme_navigation_size"
android:layout_height="@dimen/theme_navigation_size"
android:layout_centerVertical="true"/>
</FrameLayout>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.ubt.jimu.widgets.NavigationBarView
android:id="@+id/nbv_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:nbv_mode="left"/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rlv_drafts_list"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/home_margin_left"
android:layout_marginRight="@dimen/home_margin_left"
android:layout_below="@+id/nbv_bar"/>
</RelativeLayout>

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:background="@color/theme_background"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/include_title_layout">
<ViewStub
android:id="@+id/vs_no_subscription"
android:layout="@layout/layout_link_no_subscription"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<com.recyclelib.URecyclerView
android:id="@+id/rv_favourite"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="3"
style="@style/recyclerviewBar_style"/>
</LinearLayout>
<com.ubt.jimu.widgets.LoadStateView
android:id="@+id/loadStateView"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<include
android:id="@+id/include_title_layout"
layout="@layout/tool_bar_layout"/>
</RelativeLayout>

View File

@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:background="@color/bg_F9F9F9"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="horizontal"
android:id="@+id/llActionbar"
android:layout_width="match_parent"
android:layout_height="@dimen/action_bar_height">
<ImageView
android:id="@+id/imbBack"
android:background="@mipmap/combined_shape_pad"
android:layout_width="@dimen/action_bar_height"
android:layout_height="@dimen/action_bar_height"/>
<TextView
android:textSize="@dimen/title15"
android:textStyle="bold"
android:textColor="@color/txt_596F80"
android:gravity="center"
android:id="@+id/tvTitle"
android:layout_width="0dp"
android:layout_height="match_parent"
android:text="@string/pub_own"
android:layout_weight="1"/>
<ImageView
android:id="@+id/img_draft"
android:background="@mipmap/community_publish_draft"
android:layout_width="@dimen/action_bar_height"
android:layout_height="@dimen/action_bar_height"/>
</LinearLayout>
<androidx.viewpager.widget.ViewPager
android:id="@+id/vp_answer_issue_content"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/title_bar"/>
<com.ubt.jimu.widgets.LoadingView
android:id="@+id/loading"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<com.recyclelib.URecyclerView
android:id="@+id/ur_publish"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/scrollbar_recyclerView_vertical"/>
</LinearLayout>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@color/bg_white"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.viewpager.widget.ViewPager
android:id="@+id/viewPager"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<TextView
android:id="@+id/tv_guide_page"
android:text="1/9"
style="@style/tv_guide_page"/>
<TextView
android:id="@+id/tv_skip"
android:text="@string/skip_all"
style="@style/guide_tv_skip"/>
<ImageView
android:id="@+id/im_shape_left"
android:src="@drawable/shape_guide_left"
style="@style/guide_im_shape_left"/>
<ImageView
android:id="@+id/im_shape_right"
android:src="@drawable/shape_guide_right"
style="@style/guide_im_shape_right"/>
</RelativeLayout>

View File

@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@color/bg_FAFAFC"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/nbv_bar">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_pack_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"/>
</RelativeLayout>
<com.ubt.jimu.widgets.LoadStateView
android:id="@+id/load_view"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<com.ubt.jimu.widgets.NavigationBarView
android:id="@+id/nbv_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:nbv_style="round"
app:nbv_title="@string/select_Jimu_kit"/>
<RelativeLayout
android:id="@+id/scan_tips"
android:background="@drawable/scan_bg_tip"
android:visibility="gone"
android:layout_width="@dimen/scan_tips_width"
android:layout_height="@dimen/scan_tips_height"
android:layout_marginTop="15dp"
android:layout_marginRight="@dimen/theme_navigation_large_size"
android:layout_alignParentRight="true">
<TextView
android:textSize="@dimen/theme_16sp"
android:textColor="@color/bg_white"
android:ellipsize="end"
android:layout_gravity="center_vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/scan_tips_margin"
android:text="@string/scan_tips"
android:maxLines="3"
android:layout_toLeftOf="@+id/scan_tips_divide"
android:layout_centerVertical="true"/>
<View
android:id="@+id/scan_tips_divide"
android:background="@color/bg_divide"
android:layout_width="@dimen/scan_divide_width"
android:layout_height="@dimen/scan_divide_height"
android:layout_marginLeft="@dimen/scan_divide_margin"
android:layout_marginRight="@dimen/scan_divide_margin"
android:layout_toLeftOf="@+id/iv_tips_close"
android:layout_centerVertical="true"/>
<ImageView
android:id="@+id/iv_tips_close"
android:background="@drawable/scan_ic_select"
android:layout_width="@dimen/scan_tips_close_width"
android:layout_height="@dimen/scan_tips_close_width"
android:layout_marginRight="@dimen/scan_tips_margin"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"/>
</RelativeLayout>
</RelativeLayout>

View File

@@ -0,0 +1,98 @@
<?xml version="1.0" encoding="utf-8"?>
<com.ubt.jimu.widgets.screenAdaptive.XRelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@color/bg_2E3B55"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.ubt.jimu.widgets.TitleDiyView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<com.ubt.jimu.widgets.screenAdaptive.XLinearLayout
android:orientation="horizontal"
android:id="@+id/xl_header"
android:layout_width="845px"
android:layout_height="60px"
android:layout_marginLeft="@dimen/diy_part_left"
android:layout_marginTop="128px">
<TextView
android:textSize="20px"
android:textColor="@drawable/slt_diy_part_list_title"
android:gravity="center"
android:id="@+id/tv_electronic"
android:background="@drawable/slt_diy_part"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginRight="15px"
android:text="@string/diy_part_electronic"
android:layout_weight="1"/>
<TextView
android:textSize="20px"
android:textColor="@drawable/slt_diy_part_list_title"
android:gravity="center"
android:id="@+id/tv_connection"
android:background="@drawable/slt_diy_part"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginRight="15px"
android:text="@string/diy_part_connection"
android:layout_weight="1"/>
<TextView
android:textSize="20px"
android:textColor="@drawable/slt_diy_part_list_title"
android:gravity="center"
android:id="@+id/tv_part_decorate"
android:background="@drawable/slt_diy_part"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginRight="15px"
android:text="@string/diy_part_decorate"
android:layout_weight="1"/>
<TextView
android:textSize="20px"
android:textColor="@drawable/slt_diy_part_list_title"
android:gravity="center"
android:id="@+id/tv_line"
android:background="@drawable/slt_diy_part"
android:layout_width="0dp"
android:layout_height="match_parent"
android:text="@string/diy_part_line"
android:layout_weight="1"/>
</com.ubt.jimu.widgets.screenAdaptive.XLinearLayout>
<com.ubt.jimu.widgets.ForbidViewpager
android:id="@+id/vp_part_content"
android:layout_width="match_parent"
android:layout_height="480px"
android:layout_marginLeft="@dimen/diy_part_left"
android:layout_marginRight="@dimen/diy_part_left"
android:layout_below="@+id/xl_header"/>
<com.ubt.jimu.widgets.screenAdaptive.XRelativeLayout
android:background="@color/txt_287EF1"
android:layout_width="match_parent"
android:layout_height="80px"
android:layout_alignParentBottom="true">
<ImageView
android:id="@+id/imv_next"
android:background="@drawable/diy_part_next"
android:layout_width="64px"
android:layout_height="64px"
android:layout_marginRight="40px"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"/>
<TextView
android:textSize="20px"
android:textColor="@color/bg_white"
android:gravity="center"
android:id="@+id/tv_part_all"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginRight="35px"
android:text="@string/diy_part_count"
android:layout_toLeftOf="@+id/imv_next"
android:layout_centerVertical="true"/>
</com.ubt.jimu.widgets.screenAdaptive.XRelativeLayout>
<com.ubt.jimu.widgets.LoadingView
android:id="@+id/loading"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/title"/>
</com.ubt.jimu.widgets.screenAdaptive.XRelativeLayout>

View File

@@ -0,0 +1,53 @@
<?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"
android:orientation="vertical"
android:background="@android:color/black"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.bottle.hp.album.photoview.HackyViewPager
android:id="@+id/hackyViewPager"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<RelativeLayout
android:id="@+id/rlVideoViewContainer"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<RelativeLayout
android:layout_gravity="top"
android:id="@+id/rlActionBar"
android:layout_width="match_parent"
android:layout_height="56dp"
android:layout_marginTop="14dp">
<ImageView
android:layout_gravity="bottom|right"
android:id="@+id/imgBack"
android:background="@drawable/circle_shadow_ui"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_marginLeft="16dp"
android:src="@mipmap/back"
android:scaleType="centerInside"/>
<TextView
android:textSize="20sp"
android:textColor="@android:color/white"
android:gravity="center"
android:id="@+id/tvCurrent"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginLeft="16dp"
android:text="1/9"
android:layout_toRightOf="@+id/imgBack"/>
<ImageView
android:layout_gravity="bottom|right"
android:id="@+id/imgDelete"
android:background="@drawable/circle_shadow_ui"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_marginRight="16dp"
android:src="@mipmap/delete"
android:scaleType="centerInside"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"/>
</RelativeLayout>
</FrameLayout>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.bottle.hp.album.capture.view.PictureCaptureView
android:id="@+id/pictureCaptureView"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
</androidx.constraintlayout.ConstraintLayout>

View File

@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/ry_picture"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/scrollbar_recyclerView_none"/>
<ImageView
android:id="@+id/img_back"
android:background="@drawable/ic_back"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView
android:textSize="@dimen/picture_text_size"
android:textColor="@color/bg_white"
android:ellipsize="end"
android:gravity="center_vertical"
android:layout_gravity="bottom"
android:id="@+id/tv_pic_desc"
android:background="@drawable/shape_gradient_1d2c42"
android:paddingLeft="@dimen/picture_left"
android:paddingRight="@dimen/picture_left"
android:layout_width="match_parent"
android:layout_height="@dimen/picture_text_height"
android:maxLines="2"/>
<TextView
android:textSize="@dimen/txt_size_20"
android:textColor="@color/bg_white"
android:layout_gravity="bottom|right"
android:id="@+id/tv_index"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/dp_10"
android:text="@string/picture_text_index"/>
</FrameLayout>

View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:background="@color/bg_black"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.github.chrisbanes.photoview.PhotoView
android:id="@+id/img_preview_picture"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:transitionName="image_flag"/>
<ImageView
android:id="@+id/img_exit"
android:layout_width="@dimen/action_bar_height"
android:layout_height="@dimen/action_bar_height"
android:src="@mipmap/combined_shape_pad"
android:scaleType="fitCenter"
android:transitionName="im_publish_cancel"/>
<TextView
android:textSize="@dimen/content12"
android:textColor="@color/txt_white"
android:ellipsize="end"
android:gravity="center_vertical"
android:id="@+id/tv_pic_desc"
android:background="@drawable/shape_gradient_1d2c42"
android:paddingLeft="@dimen/dp32"
android:paddingRight="@dimen/dp32"
android:layout_width="match_parent"
android:layout_height="@dimen/dp104"
android:maxLines="2"
android:layout_alignParentBottom="true"/>
<ImageView
android:id="@+id/img_save"
android:background="@drawable/picture_save"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/dp10"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"/>
</RelativeLayout>

View File

@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.ubt.jimu.widgets.UbtVideoTextureView
android:layout_gravity="center"
android:id="@+id/sv_play"
android:background="@color/translucent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:transitionName="play_flag"/>
<ImageView
android:id="@+id/im_play_bnt"
android:background="@drawable/icon_play"
android:visibility="gone"
android:layout_width="@dimen/dp90"
android:layout_height="@dimen/dp90"
android:layout_centerInParent="true"/>
<ImageView
android:id="@+id/im_publish_cancel"
android:background="@drawable/community_cancel"
android:layout_width="@dimen/dp80"
android:layout_height="@dimen/dp80"
android:layout_marginLeft="@dimen/dp10"
android:layout_marginTop="@dimen/dp10"
android:transitionName="im_publish_cancel"/>
<ImageView
android:id="@+id/im_publish_confirm"
android:background="@drawable/community_my_collection_complete"
android:visibility="gone"
android:layout_width="@dimen/dp80"
android:layout_height="@dimen/dp80"
android:layout_marginLeft="@dimen/dp10"
android:layout_marginTop="@dimen/dp10"
android:layout_alignParentRight="true"
android:transitionName="im_publish_cancel"/>
<include layout="@layout/play_controller"/>
</RelativeLayout>

View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:background="@color/bg_ebebeb"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:background="#feaa06"
android:layout_width="match_parent"
android:layout_height="?android:attr/actionBarSize">
<ImageView
android:id="@+id/backImageView"
android:background="@drawable/ripple"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_back"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"/>
<TextView
android:textSize="@dimen/text_size_26"
android:textColor="@color/color_title_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/title_my_post"
android:layout_centerInParent="true"/>
<ImageView
android:id="@+id/postImageView"
android:background="@drawable/ripple"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_post"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"/>
</RelativeLayout>
<FrameLayout
android:id="@+id/contentFrame"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="@dimen/dp_50"
android:layout_marginRight="@dimen/dp_50"/>
</LinearLayout>

View File

@@ -0,0 +1,35 @@
<?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"
android:id="@+id/rootView"
android:background="@color/bg_cc596F80"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.cardview.widget.CardView
android:layout_gravity="center"
android:id="@+id/centerCardView"
android:clickable="true"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:alpha="1"
app:cardCornerRadius="@dimen/user_center_fans_bg_corner"
app:cardElevation="0dp">
<LinearLayout
android:orientation="vertical"
android:background="@color/bg_F9F9F9"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:textSize="@dimen/title16"
android:textStyle="bold"
android:textColor="@color/txt_596F80"
android:gravity="center"
android:layout_width="match_parent"
android:layout_height="@dimen/user_center_fans_tab_all_height"
android:text="@string/title_praise"/>
<FrameLayout
android:id="@+id/contentFrame"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>
</androidx.cardview.widget.CardView>
</FrameLayout>

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:background="#22303f"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.bottle.hp.album.photoview.HackyViewPager
android:id="@+id/hackyViewPager"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/im_preview_back"
android:background="@drawable/icon_back"
android:layout_width="@dimen/publish_title_img"
android:layout_height="@dimen/publish_title_img"
android:layout_centerVertical="true"/>
<CheckBox
android:id="@+id/cbChoose"
android:background="@drawable/selector_img_select_check"
android:layout_marginRight="@dimen/theme_10dp"
android:button="@null"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
style="@style/preview"/>
</RelativeLayout>
</RelativeLayout>

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@color/theme_background"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include
android:id="@+id/include_publish_title"
layout="@layout/layout_publish_title"/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_edit_publish"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_below="@+id/include_publish_title"
android:layout_centerHorizontal="true"/>
<include layout="@layout/preview_view_layout"/>
<View
android:id="@+id/view_flag"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentBottom="true"/>
<ImageView
android:id="@+id/im_add_image"
android:background="@drawable/community_publish_icon_add"
android:layout_width="@dimen/publish_img"
android:layout_height="@dimen/publish_img"
android:layout_marginRight="@dimen/publish_img_margin"
android:layout_marginBottom="@dimen/publish_img_margin"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"/>
</RelativeLayout>

View File

@@ -0,0 +1,142 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/rl_top"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:orientation="vertical"
android:background="@color/bg_white"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="371">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_content_detail"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<Button
android:id="@+id/bt_return"
android:background="@mipmap/combined_shape_pad"
android:layout_width="@dimen/action_bar_height"
android:layout_height="@dimen/action_bar_height"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true">
<ImageView
android:id="@+id/img_report"
android:background="@mipmap/community_publish_report"
android:visibility="invisible"
android:layout_width="@dimen/action_bar_height"
android:layout_height="@dimen/action_bar_height"
android:layout_marginRight="@dimen/community_details_warn_margin_right"/>
<ImageView
android:id="@+id/img_share"
android:background="@mipmap/community_publish_share"
android:layout_width="@dimen/action_bar_height"
android:layout_height="@dimen/action_bar_height"
android:layout_marginRight="10dp"/>
</LinearLayout>
<TextView
android:textColor="@color/color_FFFFFF"
android:id="@+id/tv_label"
android:background="@drawable/bg_publish_tag_select"
android:paddingLeft="20dp"
android:paddingTop="10dp"
android:paddingRight="20dp"
android:paddingBottom="10dp"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="20dp"
android:layout_marginBottom="20dp"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"/>
</RelativeLayout>
<RelativeLayout
android:orientation="vertical"
android:background="@color/bg_F9F9F9"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="296">
<com.recyclelib.URecyclerView
android:id="@+id/uv_comment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="@dimen/community_details_op_height"/>
<RelativeLayout
android:id="@+id/xr_bottom"
android:background="@color/bg_596F80"
android:layout_width="match_parent"
android:layout_height="@dimen/community_details_op_height"
android:layout_alignParentBottom="true">
<ImageView
android:id="@+id/img_praise"
android:layout_width="@dimen/community_details_op_logo_size"
android:layout_height="@dimen/community_details_op_logo_size"
android:layout_marginLeft="5.1dp"
android:src="@drawable/slt_praise"
android:scaleType="fitCenter"
android:layout_centerVertical="true"/>
<TextView
android:textSize="@dimen/content13"
android:textColor="@color/txt_EBEBEB"
android:id="@+id/tv_niu"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:text="563"
android:layout_toRightOf="@+id/img_praise"
android:layout_centerVertical="true"/>
<ImageView
android:id="@+id/img_collection"
android:layout_width="@dimen/community_details_op_logo_size"
android:layout_height="@dimen/community_details_op_logo_size"
android:layout_marginLeft="12.5dp"
android:src="@drawable/slt_community_collection"
android:scaleType="fitCenter"
android:layout_toRightOf="@+id/tv_niu"
android:layout_centerVertical="true"/>
<TextView
android:textSize="@dimen/content13"
android:textColor="@color/txt_EBEBEB"
android:id="@+id/tv_collection"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:text="563"
android:layout_toRightOf="@+id/img_collection"
android:layout_centerVertical="true"/>
<TextView
android:textSize="@dimen/content11"
android:textColor="@color/txt_98A5B6"
android:gravity="center_vertical"
android:id="@+id/et_say"
android:background="@drawable/shape_white_20"
android:paddingLeft="10dp"
android:layout_width="match_parent"
android:layout_height="@dimen/community_details_op_comment_height"
android:layout_marginRight="8dp"
android:text="@string/issue_comment_say"
android:layout_toRightOf="@+id/tv_collection"
android:layout_centerVertical="true"/>
</RelativeLayout>
</RelativeLayout>
</LinearLayout>
<com.ubt.jimu.widgets.LoadingView
android:id="@+id/loading"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentTop="true"
android:layout_alignParentStart="true"/>
<com.ubt.jimu.widgets.CommentKeyBoard
android:id="@+id/comment_keyboard"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"/>
</RelativeLayout>

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