管控功能移植
This commit is contained in:
@@ -1,101 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".activity.AboutActivity">
|
||||
<RelativeLayout
|
||||
android:id="@+id/manage_top"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/appstore_activity_bgHeight"
|
||||
android:background="@color/top_bannar_background"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_back"
|
||||
android:layout_width="@dimen/PX50x"
|
||||
android:layout_height="@dimen/PX50x"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/comeback_left"
|
||||
android:background="@drawable/icon_left"
|
||||
android:onClick="onClick"
|
||||
android:visibility="visible" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:gravity="center"
|
||||
android:text="关于"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/homePage_fragment_topSize"
|
||||
android:textStyle="bold"
|
||||
android:visibility="visible" />
|
||||
<TextView
|
||||
android:id="@+id/tv_version_code"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/PX20x"
|
||||
android:layout_marginRight="@dimen/PX50x"
|
||||
android:visibility="visible" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/linearLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/manage_top">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/PX200x"
|
||||
android:background="#e5e5e5"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/about_logo">
|
||||
|
||||
</ImageView>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX100x"
|
||||
android:layout_marginTop="@dimen/PX50x"
|
||||
android:layout_marginRight="@dimen/PX100x"
|
||||
android:text="@string/mdm_colorfly_rom_launcher"
|
||||
android:textSize="@dimen/SP24x">
|
||||
|
||||
</TextView>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="70dp"
|
||||
android:layout_marginLeft="70dp"
|
||||
android:layout_marginTop="@dimen/PX20x"
|
||||
android:layout_marginEnd="70dp"
|
||||
android:layout_marginRight="70dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:text="@string/about_copyright"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
android:layout_marginBottom="@dimen/PX100x"
|
||||
>
|
||||
|
||||
</TextView>
|
||||
</android.support.constraint.ConstraintLayout>
|
||||
@@ -1,369 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/main_bg_color"
|
||||
android:orientation="vertical"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_appstorepage_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/appstore_activity_bgHeight"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginLeft="@dimen/PX20x"
|
||||
android:layout_marginRight="@dimen/PX20x"
|
||||
android:background="@color/white"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/back_iv"
|
||||
android:layout_width="@dimen/PX50x"
|
||||
android:layout_height="@dimen/PX50x"
|
||||
android:background="@drawable/icon_left"
|
||||
android:visibility="visible" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/age_selected_ll"
|
||||
android:layout_width="@dimen/PX50x"
|
||||
android:layout_height="@dimen/PX50x"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginRight="@dimen/PX50x"
|
||||
android:gravity="center_vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/appstore_activity_selectedWidth"
|
||||
android:layout_height="14dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:src="@drawable/setting" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/search_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/PX50x"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="@dimen/PX20x"
|
||||
android:layout_marginRight="@dimen/PX20x"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/PX20x"
|
||||
android:layout_height="@dimen/PX40x"
|
||||
android:layout_marginEnd="@dimen/PX6x"
|
||||
android:layout_marginRight="@dimen/PX6x"
|
||||
android:gravity="center_vertical"
|
||||
android:src="@drawable/shap_search_left" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/PX40x"
|
||||
android:layout_height="@dimen/PX40x"
|
||||
android:layout_marginStart="-6dp"
|
||||
android:layout_marginLeft="-6dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:background="#EBEBEB"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/icon_serach"></ImageView>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/PX40x"
|
||||
android:background="@drawable/shap_search_right"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/search_edit"
|
||||
android:textColor="#c1bfbf">
|
||||
|
||||
</TextView>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_above="@+id/ll_appstorepage_end"
|
||||
android:layout_below="@id/ll_appstorepage_bg"
|
||||
/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_appstorepage_end"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/appstore_activity_bgHeight"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:background="#fafafa"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/home_page_ll"
|
||||
android:layout_width="@dimen/appstore_activity_titleWidth"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/home_page_iv_recommend"
|
||||
android:layout_width="@dimen/PX40x"
|
||||
android:layout_height="@dimen/PX40x"
|
||||
android:layout_marginLeft="@dimen/PX70x"
|
||||
android:adjustViewBounds="true"
|
||||
android:background="@drawable/top_recommend_normal"
|
||||
android:scaleType="centerInside" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/home_page_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_marginStart="@dimen/PX3x"
|
||||
android:layout_marginLeft="@dimen/PX3x"
|
||||
android:layout_weight="1"
|
||||
android:text="推荐"
|
||||
android:textColor="@color/topcolor" />
|
||||
|
||||
<View
|
||||
android:id="@+id/home_page_line"
|
||||
android:layout_width="@dimen/appstore_top_tab_line_width"
|
||||
android:layout_height="@dimen/appstore_top_tab_line_height"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@color/appstore_top_tab_line_color"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/category_ll"
|
||||
android:layout_width="@dimen/appstore_activity_titleWidth"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/home_page_iv_category"
|
||||
android:layout_width="@dimen/PX40x"
|
||||
android:layout_height="@dimen/PX40x"
|
||||
android:layout_marginLeft="@dimen/PX70x"
|
||||
android:background="@drawable/top_category_normal" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/category_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_marginStart="@dimen/PX3x"
|
||||
android:layout_marginLeft="@dimen/PX3x"
|
||||
android:layout_weight="1"
|
||||
android:text="分类"
|
||||
android:textColor="@color/topcolor" />
|
||||
|
||||
|
||||
<View
|
||||
android:id="@+id/category_line"
|
||||
android:layout_width="@dimen/appstore_top_tab_line_width"
|
||||
android:layout_height="@dimen/appstore_top_tab_line_height"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@color/appstore_top_tab_line_color"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rating_ll"
|
||||
android:layout_width="@dimen/appstore_activity_titleWidth"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/home_page_iv_rating"
|
||||
android:layout_width="@dimen/PX40x"
|
||||
android:layout_height="@dimen/PX40x"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/PX70x"
|
||||
android:layout_toRightOf="@id/rating_tv"
|
||||
android:background="@drawable/top_rating_normal" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/rating_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_marginStart="@dimen/PX3x"
|
||||
android:layout_marginLeft="@dimen/PX3x"
|
||||
android:layout_weight="1"
|
||||
android:text="排行"
|
||||
android:textColor="@color/topcolor" />
|
||||
|
||||
|
||||
<View
|
||||
android:id="@+id/rating_line"
|
||||
android:layout_width="@dimen/appstore_top_tab_line_width"
|
||||
android:layout_height="@dimen/appstore_top_tab_line_height"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@color/appstore_top_tab_line_color"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/special_ll"
|
||||
android:layout_width="@dimen/appstore_activity_titleWidth"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/home_page_iv_special"
|
||||
android:layout_width="@dimen/PX40x"
|
||||
android:layout_height="@dimen/PX40x"
|
||||
android:layout_marginLeft="@dimen/PX70x"
|
||||
android:background="@drawable/top_special_normal" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/special_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_marginStart="@dimen/PX3x"
|
||||
android:layout_marginLeft="@dimen/PX3x"
|
||||
android:layout_weight="1"
|
||||
android:text="专题"
|
||||
android:textColor="@color/topcolor" />
|
||||
|
||||
|
||||
<View
|
||||
android:id="@+id/special_line"
|
||||
android:layout_width="@dimen/appstore_top_tab_line_width"
|
||||
android:layout_height="@dimen/appstore_top_tab_line_height"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@color/appstore_top_tab_line_color"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/brand_ll"
|
||||
android:layout_width="@dimen/appstore_activity_titleWidth"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/home_page_iv_brand"
|
||||
android:layout_width="@dimen/PX40x"
|
||||
android:layout_height="@dimen/PX40x"
|
||||
android:layout_marginLeft="@dimen/PX70x"
|
||||
android:background="@drawable/top_brand_normal" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/brand_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_marginStart="@dimen/PX3x"
|
||||
android:layout_marginLeft="@dimen/PX3x"
|
||||
android:layout_weight="1"
|
||||
android:text="品牌"
|
||||
android:textColor="@color/topcolor" />
|
||||
|
||||
|
||||
<View
|
||||
android:id="@+id/brand_line"
|
||||
android:layout_width="@dimen/appstore_top_tab_line_width"
|
||||
android:layout_height="@dimen/appstore_top_tab_line_height"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@color/appstore_top_tab_line_color"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:id="@+id/download_ll"
|
||||
android:layout_width="@dimen/appstore_activity_titleWidth"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:layout_marginTop="@dimen/PX10x"
|
||||
android:layout_width="@dimen/PX30x"
|
||||
android:layout_height="@dimen/PX30x"
|
||||
android:layout_marginLeft="@dimen/PX70x"
|
||||
android:background="@drawable/top_download_normal" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_marginStart="@dimen/PX3x"
|
||||
android:layout_marginLeft="@dimen/PX3x"
|
||||
android:layout_weight="1"
|
||||
android:text="管理"
|
||||
android:textColor="@color/topcolor" />
|
||||
|
||||
|
||||
<View
|
||||
android:layout_width="@dimen/appstore_top_tab_line_width"
|
||||
android:layout_height="@dimen/appstore_top_tab_line_height"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@color/appstore_top_tab_line_color"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
@@ -4,26 +4,97 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context="com.mjsheng.myappstore.MainActivity">
|
||||
android:background="#ffffff"
|
||||
tools:context=".activity.MainActivity">
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_babySystem"
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView"
|
||||
android:layout_width="@dimen/dp_140"
|
||||
android:layout_height="@dimen/dp_140"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="fitCenter"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.078">
|
||||
|
||||
</ImageView>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/linearLayout"
|
||||
android:layout_width="@dimen/dp_170"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="12dp"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/imageView">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView3"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/dp_10"
|
||||
android:gravity="center_horizontal"
|
||||
android:text="设备信息"
|
||||
android:textSize="@dimen/sp_18"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_30">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_devsn"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_5"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:layout_marginEnd="@dimen/dp_5"
|
||||
android:layout_marginRight="@dimen/dp_5"
|
||||
android:layout_marginBottom="@dimen/dp_5"
|
||||
android:text="设备SN:"
|
||||
android:textSize="@dimen/sp_12" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_10">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_devmac"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_5"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:layout_marginEnd="@dimen/dp_5"
|
||||
android:layout_marginRight="@dimen/dp_5"
|
||||
android:layout_marginBottom="@dimen/dp_5"
|
||||
android:text="设备MAC:"
|
||||
android:textSize="@dimen/sp_12" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/version"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="babySystem" />
|
||||
android:layout_marginBottom="48dp"
|
||||
android:text="版本:"
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_primarySystem"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="primarySystem"
|
||||
app:layout_constraintTop_toBottomOf="@+id/btn_babySystem" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_middleSystem"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="middleSystem"
|
||||
app:layout_constraintTop_toBottomOf="@id/btn_primarySystem" />
|
||||
|
||||
</android.support.constraint.ConstraintLayout>
|
||||
android:textColor="#8c8b8b"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
</android.support.constraint.ConstraintLayout>
|
||||
@@ -1,87 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:background="@color/white"
|
||||
android:layout_height="@dimen/appstore_activity_bgHeight" >
|
||||
<ImageView
|
||||
android:id="@+id/iv_back"
|
||||
android:layout_width="@dimen/PX50x"
|
||||
android:layout_height="@dimen/PX50x"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/comeback_left"
|
||||
android:background="@drawable/icon_left"
|
||||
android:visibility="visible" />
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:gravity="center"
|
||||
android:text="应用搜索"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/homePage_fragment_topSize" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/search_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/search_activity_marginTop"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal"
|
||||
android:paddingBottom="@dimen/PX8x">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/search_edit"
|
||||
android:layout_width="@dimen/search_activity_editWidth"
|
||||
android:layout_height="@dimen/search_activity_editHight"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="@drawable/shap_search_bg"
|
||||
android:hint="@string/search_edit"
|
||||
android:inputType="textNoSuggestions"
|
||||
android:imeOptions="actionDone"
|
||||
android:paddingLeft="@dimen/PX45x"
|
||||
android:paddingRight="@dimen/PX45x"
|
||||
android:singleLine="true"
|
||||
android:textCursorDrawable="@drawable/ic_search_edit_cursor"
|
||||
android:textSize="@dimen/SP16x" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/search_btn"
|
||||
android:layout_width="@dimen/download_Width"
|
||||
android:layout_height="@dimen/download_Hight"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/PX15x"
|
||||
android:background="@drawable/delete_btn_selector"
|
||||
android:gravity="center"
|
||||
android:text="搜索"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/download_textSize" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/search_history"
|
||||
android:layout_width="@dimen/search_activity_textwidth"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/search_ll"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:text="@string/search_history"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/SP20x" />
|
||||
|
||||
<ListView
|
||||
android:id="@+id/search_ListView"
|
||||
android:layout_width="@dimen/search_activity_textwidth"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/search_history"
|
||||
android:listSelector="@android:color/transparent"
|
||||
android:layout_centerHorizontal="true" />
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -1,91 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:apps="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/storeactivity_bg">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/appstore_activity_bgHeight" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:gravity="center"
|
||||
android:text="商城设置"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/homePage_fragment_topSize" />
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_selecter_back"
|
||||
android:layout_width="@dimen/storeback_imgWidth"
|
||||
android:layout_height="@dimen/storeback_imgHight"
|
||||
android:layout_marginLeft="@dimen/comeback_left"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@drawable/comeback_btn"/>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_lock_bg"
|
||||
android:layout_width="@dimen/setting_activity_rlWidth"
|
||||
android:layout_height="@dimen/setting_activity_rlHight"
|
||||
android:background="@drawable/app_pwd"
|
||||
android:layout_centerInParent="true" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignLeft="@id/rl_lock_bg"
|
||||
android:layout_marginLeft="@dimen/PX30x"
|
||||
android:text="进入应用商店需要密码"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/SP34x" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_setting"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignRight="@id/rl_lock_bg"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/PX30x"
|
||||
android:text="开"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/SP26x" />
|
||||
|
||||
<com.mjsheng.myappstore.view.ToggleButton
|
||||
android:id="@+id/iv_setting"
|
||||
android:layout_width="@dimen/PX90x"
|
||||
android:layout_height="@dimen/PX40x"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/PX10x"
|
||||
android:layout_toLeftOf="@id/tv_setting"
|
||||
apps:tbOnColor="@color/green_color" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/PX10x"
|
||||
android:layout_toLeftOf="@id/iv_setting"
|
||||
android:text="关"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/SP26x" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_statement"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="@dimen/PX110x"
|
||||
android:paddingBottom="@dimen/PX5x"
|
||||
android:text="知识产权声明"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/SP28x" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -1,40 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/storeactivity_bg">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_statement_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/appstore_activity_bgHeight"
|
||||
android:layout_centerHorizontal="true">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:gravity="center"
|
||||
android:text="声\t明"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/homePage_fragment_topSize" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_statement_back"
|
||||
android:layout_width="@dimen/storeback_imgWidth"
|
||||
android:layout_height="@dimen/storeback_imgHight"
|
||||
android:layout_marginLeft="@dimen/comeback_left"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@drawable/comeback_btn" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
|
||||
<WebView
|
||||
android:id="@+id/web"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/rl_statement_bg"
|
||||
android:scrollbars="none" />
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -1,65 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_category_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/appstore_activity_bgHeight"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@color/top_bannar_background">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_back"
|
||||
android:layout_width="@dimen/PX50x"
|
||||
android:layout_height="@dimen/PX50x"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/comeback_left"
|
||||
android:background="@drawable/icon_left"
|
||||
android:visibility="visible" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_subject_img"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:gravity="center"
|
||||
android:text="最新上架"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/homePage_fragment_topSize" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/subject_number_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="@dimen/number_marginright"
|
||||
android:gravity="center"
|
||||
android:layout_centerInParent="true"
|
||||
android:text="0款应用"
|
||||
android:textColor="@color/white"
|
||||
android:visibility="gone"
|
||||
android:textSize="@dimen/SP22x" />
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/subject_refreshLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/rl_category_bg"
|
||||
android:scrollbars="none">
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/subject_recycleView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:scrollbars="none" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -1,75 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/accountdialog_itembg"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/PX80x"
|
||||
android:background="@drawable/accountdialog_topbg"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX15x"
|
||||
android:layout_marginRight="@dimen/PX15x"
|
||||
android:layout_marginTop="@dimen/PX10x"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/SP14x" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/message"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/PX2x"
|
||||
android:layout_marginLeft="@dimen/PX15x"
|
||||
android:layout_marginRight="@dimen/PX15x"
|
||||
android:layout_marginTop="@dimen/PX2x"
|
||||
android:scrollbars="vertical"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/SP12x" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/PX5x"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/positiveButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/selector_activity_click_big"
|
||||
android:singleLine="true"
|
||||
android:textSize="@dimen/dialog_btnSize" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/negativeButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/selector_activity_click_big"
|
||||
android:singleLine="true"
|
||||
android:textSize="@dimen/dialog_btnSize" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/brand_fragment_recycleView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:overScrollMode="never"
|
||||
android:scrollbars="none" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:apps="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
android:padding="@dimen/PX7x">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/app_icon"
|
||||
android:layout_width="@dimen/PX110x"
|
||||
android:layout_height="@dimen/PX110x"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/PX7x" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/app_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/PX5x"
|
||||
android:ellipsize="end"
|
||||
android:maxLength="6"
|
||||
android:singleLine="true"
|
||||
android:soundEffectsEnabled="false"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/SP20x" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" >
|
||||
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/rlv_type_category"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:overScrollMode="never"
|
||||
android:scrollbars="none" />
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -1,42 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/category_bg"
|
||||
android:layout_width="284dp"
|
||||
android:layout_height="193dp">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/category_iv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerInside" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/category_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/subject_morelist_titleSize" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -1,45 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/content_textview"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX3x"
|
||||
android:layout_marginRight="@dimen/PX3x"
|
||||
android:layout_marginTop="@dimen/PX7x"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center_vertical"
|
||||
android:lineSpacingExtra="@dimen/PX6x"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/SP20x" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/bottom_text_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="4" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bottom_textview"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/PX3x"
|
||||
android:layout_marginTop="@dimen/PX3x"
|
||||
android:layout_weight="1"
|
||||
android:gravity="right"
|
||||
android:padding="@dimen/PX3x"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/SP18x"
|
||||
android:visibility="visible" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -1,50 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:apps="http://schemas.android.com/tools"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/PX5x">
|
||||
|
||||
<com.mjsheng.myappstore.view.StarRatingBar
|
||||
android:id="@+id/ratingbar"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX12x"
|
||||
apps:halfstart="true"
|
||||
apps:starCount="0"
|
||||
apps:starNum="5" />
|
||||
<TextView
|
||||
android:id="@+id/comment_date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="@dimen/PX12x"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/SP18x" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/comment_author"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/PX12x"
|
||||
android:layout_toLeftOf="@+id/comment_date"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/SP18x" />
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/comment_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX12x"
|
||||
android:padding="@dimen/PX6x"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/comment_btn_textSize" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -1,115 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:apps="http://schemas.android.com/tools"
|
||||
android:id="@+id/comments_page_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="@dimen/PX30x"
|
||||
android:layout_marginLeft="@dimen/PX20x"
|
||||
android:layout_marginRight="@dimen/PX20x"
|
||||
android:orientation="vertical">
|
||||
|
||||
<Button
|
||||
android:id="@+id/give_comment_btn"
|
||||
android:layout_width="@dimen/commentsPage_fragment_btnWidth"
|
||||
android:layout_height="@dimen/commentsPage_fragment_btnHight"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/PX7x"
|
||||
android:text="@string/give_comments"
|
||||
android:textColor="@color/black"
|
||||
android:background="@drawable/comment_btnbg"
|
||||
android:textSize="@dimen/SP20x" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/edit_comment_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX45x"
|
||||
android:layout_marginTop="@dimen/PX12x"
|
||||
android:orientation="horizontal"
|
||||
android:layout_gravity="center_vertical">
|
||||
|
||||
|
||||
<com.mjsheng.myappstore.view.StarRatingBar
|
||||
android:id="@+id/comment_ratingbar"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
apps:halfstart="true"
|
||||
apps:starCount="0"
|
||||
apps:starNum="5" />
|
||||
|
||||
<CheckBox
|
||||
android:visibility="gone"
|
||||
android:id="@+id/anonymity_checkbox"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/commentsPage_fragment_marginLeft"
|
||||
android:button="@null"
|
||||
android:checked="false"
|
||||
android:drawableLeft="@drawable/checkbox_selector"
|
||||
android:text="@string/anonymity_text"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/SP18x" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX45x"
|
||||
android:layout_marginTop="@dimen/PX12x"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/comment_edit"
|
||||
android:layout_width="@dimen/commentsPage_fragment_edWidth"
|
||||
android:layout_height="@dimen/commentsPage_fragment_edHight"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="@drawable/comment_editbg"
|
||||
android:inputType="textNoSuggestions"
|
||||
android:textColor="@color/black"
|
||||
android:textColorHint="@color/black"
|
||||
android:imeOptions="actionDone"
|
||||
android:maxLength="100"
|
||||
android:maxWidth="@dimen/comment_edit_max_width"
|
||||
android:paddingLeft="@dimen/PX7x"
|
||||
android:textCursorDrawable="@drawable/ic_comments_edit_cursor"
|
||||
android:textSize="@dimen/comment_btn_textSize" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/comment_btn"
|
||||
android:layout_width="@dimen/download_Width"
|
||||
android:layout_height="@dimen/download_Hight"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="@dimen/PX30x"
|
||||
android:layout_marginRight="@dimen/PX30x"
|
||||
android:background="@drawable/delete_btn_selector"
|
||||
android:padding="@dimen/PX4x"
|
||||
android:text="@string/comments_btn_text"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/comment_btn_textSize" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ListView
|
||||
android:id="@+id/comments_listview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="@dimen/PX30x"
|
||||
android:layout_marginLeft="@dimen/commentsPage_fragment_marginLeft"
|
||||
android:layout_marginRight="@dimen/commentsPage_fragment_marginLeft"
|
||||
android:clipChildren="false"
|
||||
android:listSelector="@android:color/transparent"
|
||||
android:divider="@drawable/list_item_vertical_line"
|
||||
android:overScrollMode="never"
|
||||
android:paddingTop="@dimen/PX4x"
|
||||
android:scrollbars="none" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -1,233 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:apps="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="@dimen/appstore_dialog_width"
|
||||
android:layout_height="@dimen/appstore_dialog_height"
|
||||
android:layout_centerInParent="true"
|
||||
android:background="@drawable/accountdialog_itembg">
|
||||
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/PX80x"
|
||||
android:background="@drawable/appdetaildialog_bg" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_detail_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/appDetail_page_margnTop"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/homePage_fragment_topSize" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/appDetail_page_Top"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/detail_app_icon"
|
||||
android:layout_width="@dimen/PX120x"
|
||||
android:layout_height="@dimen/PX120x"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="@dimen/PX50x"
|
||||
android:scaleType="fitXY"
|
||||
android:soundEffectsEnabled="false" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="@dimen/PX20x"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/app_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/appDetail_page_appSize"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<com.mjsheng.myappstore.view.StarRatingBar
|
||||
android:id="@+id/ratingbar"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/PX15x"
|
||||
apps:halfstart="true"
|
||||
apps:starCount="0"
|
||||
apps:starNum="5" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/PX20x"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/app_update_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/PX15x"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/appDetail_page_descSize" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/app_size"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/appDetail_page_descSize" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/PX70x"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/llDownload"
|
||||
android:layout_width="@dimen/download_Width"
|
||||
android:layout_height="@dimen/download_Hight"
|
||||
android:layout_gravity="right"
|
||||
android:layout_marginTop="@dimen/PX40x"
|
||||
android:background="@drawable/update_btn_selector"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivDownload"
|
||||
android:layout_width="@dimen/appstore_dialog_imgwidth"
|
||||
android:layout_height="@dimen/appstore_dialog_imgheight"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="@dimen/PX10x"
|
||||
android:background="@drawable/download_start"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvDownload"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="@dimen/PX10x"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:text="@string/download_start_text"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/download_textSize" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/price_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:layout_marginTop="@dimen/PX5x"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/SP18x" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/PX12x"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/detail_radio_group"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/introduction_btn"
|
||||
android:layout_width="@dimen/detail_table_width"
|
||||
android:layout_height="@dimen/appstore_activity_titleHeight"
|
||||
android:layout_marginBottom="@dimen/PX3x"
|
||||
android:layout_marginLeft="@dimen/PX3x"
|
||||
android:layout_marginTop="@dimen/PX3x"
|
||||
android:button="@null"
|
||||
android:checked="false"
|
||||
android:ellipsize="marquee"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:text="@string/app_detail_introduction"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/SP22x" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/comments_btn"
|
||||
android:layout_width="@dimen/detail_table_width"
|
||||
android:layout_height="@dimen/appstore_activity_titleHeight"
|
||||
android:layout_marginBottom="@dimen/PX3x"
|
||||
android:layout_marginLeft="@dimen/PX3x"
|
||||
android:layout_marginTop="@dimen/PX3x"
|
||||
android:button="@null"
|
||||
android:ellipsize="marquee"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:text="@string/app_detail_comments"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/SP22x" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/recommend_btn"
|
||||
android:layout_width="@dimen/detail_table_width"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/PX3x"
|
||||
android:layout_marginLeft="@dimen/PX3x"
|
||||
android:layout_marginTop="@dimen/PX3x"
|
||||
android:button="@null"
|
||||
android:ellipsize="marquee"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:text="@string/app_detail_recommend"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/SP22x"
|
||||
android:visibility="gone" />
|
||||
</RadioGroup>
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX20x"
|
||||
android:layout_marginRight="@dimen/PX20x"
|
||||
android:layout_marginTop="@dimen/appDetail_page_lineTop"
|
||||
android:background="@drawable/blank_line" />
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/fl_fragmentlayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="@dimen/PX15x"
|
||||
android:layout_marginLeft="@dimen/PX10x"
|
||||
android:layout_marginRight="@dimen/PX10x" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<android.support.v4.view.ViewPager
|
||||
android:id="@+id/vp_appstore_dialog_start"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true"/>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_view_pager_img"
|
||||
android:layout_width="@dimen/appstore_image_item_width"
|
||||
android:layout_height="@dimen/appstore_image_item_height"
|
||||
android:layout_gravity="center"
|
||||
android:contentDescription="@null"
|
||||
android:soundEffectsEnabled="false"
|
||||
android:scaleType="fitXY"/>
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -1,34 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="@dimen/PX600x"
|
||||
android:layout_height="@dimen/PX300x"
|
||||
android:background="@drawable/dialog_no_sn_bg">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/PX15x"
|
||||
android:text="温馨提示"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/PX30x" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxWidth="@dimen/PX400x"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginTop="@dimen/PX20x"
|
||||
android:text="您的平板未关联设备码,暂时没有数据,请联系管理员。"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/PX25x" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -1,154 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:apps="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/app_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/PX130x"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<!--android:background="@drawable/addparent_itembg"-->
|
||||
<ImageView
|
||||
android:id="@+id/app_icon"
|
||||
android:layout_width="@dimen/downloadList_item_width"
|
||||
android:layout_height="@dimen/downloadList_item_width"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="@dimen/PX10x" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX7x"
|
||||
android:layout_marginRight="@dimen/PX7x"
|
||||
android:layout_marginTop="@dimen/PX12x"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:ellipsize="end"
|
||||
android:maxLength="8"
|
||||
android:singleLine="true"
|
||||
android:text="app"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/subject_morelist_titleSize" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/download_Hight">
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/progress_bar"
|
||||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/PX15x"
|
||||
android:layout_centerVertical="true"
|
||||
android:progressDrawable="@drawable/download_progress"
|
||||
android:layout_marginRight="@dimen/downloadList_adapter_marginRight"
|
||||
android:max="100" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_gravity="right"
|
||||
android:layout_marginRight="@dimen/PX7x"
|
||||
android:orientation="horizontal">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/llDownload"
|
||||
android:layout_width="@dimen/download_Width"
|
||||
android:layout_height="@dimen/download_Hight"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:orientation="horizontal"
|
||||
android:background="@drawable/download_btn_selector" >
|
||||
<ImageView
|
||||
android:visibility="gone"
|
||||
android:id="@+id/ivDownload"
|
||||
android:layout_width="@dimen/appstore_dialog_imgwidth"
|
||||
android:layout_height="@dimen/appstore_dialog_imgheight"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="@dimen/PX10x"
|
||||
android:background="@drawable/download_start" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvDownload"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:text="@string/download_start_text"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/download_textSize" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/llCancle"
|
||||
android:layout_width="@dimen/download_Width"
|
||||
android:layout_height="@dimen/download_Hight"
|
||||
android:layout_marginLeft="@dimen/PX7x"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:orientation="horizontal"
|
||||
android:background="@drawable/delete_btn_selector" >
|
||||
<ImageView
|
||||
android:layout_width="@dimen/appstore_dialog_imgwidth"
|
||||
android:visibility="gone"
|
||||
android:layout_height="@dimen/appstore_dialog_imgheight"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="@dimen/PX10x"
|
||||
android:background="@drawable/download_delete" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:text="@string/download_delect_text"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/download_textSize" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX7x"
|
||||
android:layout_marginRight="@dimen/PX15x"
|
||||
android:layout_marginTop="@dimen/PX7x"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/download_size_progress"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/subject_morelist_appSize" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/download_state"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/PX20x"
|
||||
android:gravity="right"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/subject_morelist_appSize" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
@@ -1,25 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<HorizontalScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:overScrollMode="never"
|
||||
android:scrollbars="none">
|
||||
|
||||
<com.mjsheng.myappstore.view.GaringRecommedLayout
|
||||
android:id="@+id/recommend_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="@dimen/PX12x"
|
||||
android:layout_marginLeft="@dimen/PX20x"
|
||||
android:layout_marginRight="@dimen/PX30x"
|
||||
android:layout_marginTop="@dimen/PX12x"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="horizontal" />
|
||||
</HorizontalScrollView>
|
||||
</LinearLayout>
|
||||
@@ -1,199 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#fafafa"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<android.support.v4.widget.SwipeRefreshLayout
|
||||
android:id="@+id/recommend_srl"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="fill_parent">
|
||||
|
||||
<com.mjsheng.myappstore.view.MyOverScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scrollbars="none">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/rl_home"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/main_RecyclerView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:overScrollMode="never"
|
||||
android:scrollbars="none"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<com.example.library.banner.BannerLayout
|
||||
android:id="@+id/recycler"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="250dp"
|
||||
app:autoPlaying="true"
|
||||
app:centerScale="1.4"
|
||||
app:itemSpace="10"
|
||||
app:moveSpeed="1.5" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX5x"
|
||||
android:layout_marginTop="@dimen/PX15x"
|
||||
android:layout_marginRight="@dimen/PX5x">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX30x"
|
||||
android:text="最新上架"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/SP22x" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/new_more_ll"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/PX50x"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="@dimen/PX30x"
|
||||
android:gravity="top|left">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX15x"
|
||||
android:text="更多..."
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/SP22x" />
|
||||
</LinearLayout>
|
||||
|
||||
<com.mjsheng.myappstore.view.MyGridView
|
||||
android:id="@+id/gv_new_more"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/PX150x"
|
||||
android:layout_marginLeft="@dimen/PX15x"
|
||||
android:layout_marginTop="@dimen/main_activity_marginTop"
|
||||
android:layout_marginRight="@dimen/PX15x"
|
||||
android:layout_marginBottom="@dimen/PX7x"
|
||||
android:horizontalSpacing="@dimen/PX5x"
|
||||
android:listSelector="@android:color/transparent"
|
||||
android:numColumns="1"
|
||||
android:scrollbars="none"
|
||||
android:smoothScrollbar="true"
|
||||
android:soundEffectsEnabled="true"
|
||||
android:stretchMode="columnWidth"
|
||||
android:verticalSpacing="@dimen/PX5x" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:paddingLeft="@dimen/PX30x"
|
||||
android:paddingRight="@dimen/PX50x"></RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX5x"
|
||||
android:layout_marginTop="@dimen/PX15x"
|
||||
android:layout_marginRight="@dimen/PX5x"
|
||||
android:layout_marginBottom="@dimen/PX10x">
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX30x"
|
||||
android:text="热门推荐"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/SP22x" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/recommend_more_ll"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/PX50x"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="@dimen/PX30x"
|
||||
android:gravity="top|left">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX15x"
|
||||
android:text="更多..."
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/SP22x" />
|
||||
</LinearLayout>
|
||||
|
||||
<com.mjsheng.myappstore.view.MyGridView
|
||||
android:id="@+id/gv_recommend_more"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX15x"
|
||||
android:layout_marginTop="@dimen/main_activity_marginTop"
|
||||
android:layout_marginRight="@dimen/PX15x"
|
||||
android:layout_marginBottom="@dimen/PX12x"
|
||||
android:horizontalSpacing="@dimen/PX5x"
|
||||
android:listSelector="@android:color/transparent"
|
||||
android:numColumns="1"
|
||||
android:scrollbars="none"
|
||||
android:smoothScrollbar="true"
|
||||
android:soundEffectsEnabled="true"
|
||||
android:stretchMode="columnWidth"
|
||||
android:verticalSpacing="@dimen/PX5x" />
|
||||
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:id="@+id/home_rl_all"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX5x"
|
||||
android:layout_marginTop="@dimen/PX15x"
|
||||
android:layout_marginRight="@dimen/PX5x"
|
||||
android:layout_marginBottom="@dimen/PX10x">
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX30x"
|
||||
android:text="全部应用"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/SP22x" />
|
||||
|
||||
|
||||
<com.mjsheng.myappstore.view.MyGridView
|
||||
android:id="@+id/gv_recommend_all"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX15x"
|
||||
android:layout_marginTop="@dimen/main_activity_marginTop"
|
||||
android:layout_marginRight="@dimen/PX15x"
|
||||
android:layout_marginBottom="@dimen/PX12x"
|
||||
android:horizontalSpacing="@dimen/PX5x"
|
||||
android:listSelector="@android:color/transparent"
|
||||
android:numColumns="1"
|
||||
android:scrollbars="none"
|
||||
android:smoothScrollbar="true"
|
||||
android:soundEffectsEnabled="true"
|
||||
android:stretchMode="columnWidth"
|
||||
android:verticalSpacing="@dimen/PX5x" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</com.mjsheng.myappstore.view.MyOverScrollView>
|
||||
</android.support.v4.widget.SwipeRefreshLayout>
|
||||
</RelativeLayout>
|
||||
@@ -1,95 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:overScrollMode="never"
|
||||
android:scrollbars="none">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginLeft="@dimen/PX20x"
|
||||
android:layout_marginRight="@dimen/PX20x"
|
||||
android:orientation="vertical">
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/id_RecyclerView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:overScrollMode="never"
|
||||
android:scrollbars="none" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/PX15x"
|
||||
android:layout_marginLeft="@dimen/PX20x"
|
||||
android:layout_marginRight="@dimen/PX20x"
|
||||
android:layout_marginTop="@dimen/appDetail_page_lineTop"
|
||||
android:background="@drawable/blank_line" />
|
||||
|
||||
<com.mjsheng.myappstore.view.CollapsibleTextView
|
||||
android:id="@+id/detail_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/PX7x" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/PX15x"
|
||||
android:layout_marginLeft="@dimen/PX20x"
|
||||
android:layout_marginRight="@dimen/PX20x"
|
||||
android:layout_marginTop="@dimen/appDetail_page_lineTop"
|
||||
android:background="@drawable/blank_line" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX12x"
|
||||
android:layout_marginTop="@dimen/PX6x"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="版本号:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/SP20x" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/detail_version"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX6x"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/SP20x" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/PX10x"
|
||||
android:layout_marginLeft="@dimen/PX12x"
|
||||
android:layout_marginTop="@dimen/PX6x"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="最近更新:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/SP20x" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/detail_latesttime"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX6x"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/SP20x" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_brand_bg"
|
||||
android:layout_width="284dp"
|
||||
android:layout_height="193dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:soundEffectsEnabled="false" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="250dp"
|
||||
android:layout_height="170dp"
|
||||
app:cardCornerRadius="5dp">
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerInside"/>
|
||||
</android.support.v7.widget.CardView>
|
||||
@@ -1,134 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:apps="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/category_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/PX150x"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivAppIcon"
|
||||
android:layout_width="@dimen/PX90x"
|
||||
android:layout_height="@dimen/PX90x"
|
||||
android:layout_centerInParent="true"
|
||||
android:soundEffectsEnabled="false" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvAppName"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:maxLength="6"
|
||||
android:singleLine="true"
|
||||
android:text="app"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/subject_morelist_title_Size"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<com.mjsheng.myappstore.view.StarRatingBar
|
||||
android:id="@+id/ratingbar"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/PX10x"
|
||||
apps:halfstart="true"
|
||||
apps:starCount="0"
|
||||
apps:starNum="5" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/app_size"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/PX10x"
|
||||
android:singleLine="true"
|
||||
android:text="19MB"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/SP20x" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvDesc"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/PX10x"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:text="app"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/subject_morelist_descSize" />
|
||||
|
||||
<View
|
||||
android:id="@+id/line"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/PX1x"
|
||||
android:layout_marginTop="@dimen/PX10x"
|
||||
android:background="@color/french_gray"
|
||||
android:visibility="visible" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/llDownload"
|
||||
android:layout_width="@dimen/download_Width"
|
||||
android:layout_height="@dimen/download_Hight"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/download_btn_selector"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivDownload"
|
||||
android:layout_width="@dimen/appstore_dialog_imgwidth"
|
||||
android:layout_height="@dimen/appstore_dialog_imgheight"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="@dimen/PX10x"
|
||||
android:background="@drawable/download_start"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvDownload"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:text="@string/download_start_text"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/download_textSize" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</android.support.constraint.ConstraintLayout>
|
||||
@@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/PX10x">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_history"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/SP22x" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_history_cancel"
|
||||
android:layout_width="@dimen/search_activity_cancelWidth"
|
||||
android:layout_height="@dimen/search_activity_cancelWidth"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:src="@android:drawable/ic_delete"
|
||||
android:tint="@color/black_50_opacity" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
@@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_emptyview_layout"
|
||||
android:layout_width="@dimen/varyViewHelper_empty_imgWidth"
|
||||
android:layout_height="@dimen/varyViewHelper_empty_imgHeight"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/PX300x"/>
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/iv_emptyview_layout"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/PX15x"
|
||||
android:text="该界面暂无数据"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/SP26x" />
|
||||
</RelativeLayout>
|
||||
@@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_errorview_layout"
|
||||
android:layout_width="@dimen/varyViewHelper_empty_imgWidth"
|
||||
android:layout_height="@dimen/varyViewHelper_empty_imgHeight"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/PX200x" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/iv_errorview_layout"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/PX15x"
|
||||
android:text="网络状况不好,请重新加载"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/SP26x" />
|
||||
</RelativeLayout>
|
||||
@@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_loadingview_layout"
|
||||
android:layout_width="@dimen/varyViewHelper_loading_imgWidth"
|
||||
android:layout_height="@dimen/varyViewHelper_loading_imgWidth"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/PX200x"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_below="@id/iv_loadingview_layout"
|
||||
android:layout_marginTop="@dimen/PX30x"
|
||||
android:singleLine="true"
|
||||
android:gravity="center"
|
||||
android:text="努力加载中..."
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/SP30x" />
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -1,62 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" >
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_dialog_bg"
|
||||
android:layout_width="@dimen/main_exitapp_bgwidth"
|
||||
android:layout_height="@dimen/main_exitapp_bgheight"
|
||||
android:background="@drawable/accountdialog_itembg_new" >
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/PX100x"
|
||||
>
|
||||
|
||||
<TextView
|
||||
style="@style/DefaultFont"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:text="退出系统"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/dialog_marginSize" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/main_exitapp_panda"
|
||||
android:layout_width="@dimen/main_exitapp_width"
|
||||
android:layout_height="@dimen/main_exitapp_height"
|
||||
android:layout_centerInParent="true" />
|
||||
|
||||
<Button
|
||||
style="@style/DefaultFont"
|
||||
android:id="@+id/main_exitapp_sure"
|
||||
android:layout_width="@dimen/account_dialog_bigWidth"
|
||||
android:layout_height="@dimen/account_dialog_bigHeight"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_marginBottom="@dimen/PX30x"
|
||||
android:layout_marginLeft="@dimen/PX60x"
|
||||
android:background="@drawable/accountdialog_topbg_new"
|
||||
android:gravity="center"
|
||||
android:text="退\t出"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/dialog_btnSize" />
|
||||
|
||||
<Button
|
||||
style="@style/DefaultFont"
|
||||
android:id="@+id/main_exitapp_cancle"
|
||||
android:layout_width="@dimen/account_dialog_bigWidth"
|
||||
android:layout_height="@dimen/account_dialog_bigHeight"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignTop="@id/main_exitapp_sure"
|
||||
android:layout_marginRight="@dimen/PX60x"
|
||||
android:background="@drawable/accountdialog_topbg_new"
|
||||
android:text="取\t消"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/dialog_btnSize" />
|
||||
</RelativeLayout>
|
||||
</FrameLayout>
|
||||
@@ -1,211 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/main_bg_color">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/manage_top"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/appstore_activity_bgHeight"
|
||||
android:background="@drawable/top_bg"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_subject_back"
|
||||
android:layout_width="@dimen/PX50x"
|
||||
android:layout_height="@dimen/PX50x"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/comeback_left"
|
||||
android:background="@drawable/icon_left"
|
||||
android:visibility="visible" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:gravity="center"
|
||||
android:text="应用管理"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/homePage_fragment_topSize"
|
||||
android:textStyle="bold" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/manage_relative"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/appstore_activity_bgHeight"
|
||||
android:layout_below="@id/manage_top"
|
||||
android:background="@color/top_bannar_background">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_back"
|
||||
android:layout_width="@dimen/PX50x"
|
||||
android:layout_height="@dimen/PX50x"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/comeback_left"
|
||||
android:background="@drawable/icon_left"
|
||||
android:visibility="visible" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_version_code"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/PX10x"
|
||||
android:layout_toRightOf="@id/iv_back"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/PX20x"
|
||||
android:visibility="gone" />
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/manage_radio_group"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/manage_download_tab"
|
||||
android:layout_width="@dimen/appstore_activity_titleWidth"
|
||||
android:layout_height="@dimen/appstore_activity_titleHeight"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:button="@null"
|
||||
android:gravity="center"
|
||||
android:text="新任务"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/SP22x" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/manage_uninstall_tab"
|
||||
android:layout_width="@dimen/appstore_activity_titleWidth"
|
||||
android:layout_height="@dimen/appstore_activity_titleHeight"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginRight="@dimen/PX15x"
|
||||
android:button="@null"
|
||||
android:gravity="center"
|
||||
android:text="已安装"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/SP22x" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/manage_update_tab"
|
||||
android:layout_width="@dimen/appstore_activity_titleWidth"
|
||||
android:layout_height="@dimen/appstore_activity_titleHeight"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginRight="@dimen/PX15x"
|
||||
android:button="@null"
|
||||
android:gravity="center"
|
||||
android:text="可更新"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/SP22x" />
|
||||
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/PX2x"
|
||||
android:layout_below="@id/manage_radio_group"
|
||||
android:layout_marginLeft="@dimen/PX20x"
|
||||
android:layout_marginRight="@dimen/PX20x"
|
||||
android:background="@color/white"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/manage_about_tab"
|
||||
android:layout_width="@dimen/download_activity_titleWidth_port"
|
||||
android:layout_height="@dimen/download_activity_titleHeight_port"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:background="@null"
|
||||
android:button="@null"
|
||||
android:gravity="center"
|
||||
android:layout_marginRight="@dimen/SP20x"
|
||||
android:layout_centerVertical="true"
|
||||
android:text="关于我们"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/SP20x" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/download_manage_listview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/manage_relative"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:overScrollMode="never"
|
||||
android:scrollbars="none" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/manage_rLayout1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/manage_relative">
|
||||
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/uninstall_manage_listview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:overScrollMode="never"
|
||||
android:scrollbars="none" />
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/manage_rLayout2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/manage_relative">
|
||||
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/appupdate_manage_listview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:overScrollMode="never"
|
||||
android:scrollbars="none" />
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/manage_rLayout3"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@id/manage_relative"
|
||||
android:visibility="gone">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/banquan"></ImageView>
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/manage_linearlayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@+id/manage_relative"
|
||||
android:gravity="center">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/manage_load_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/homePage_fragment_topSize" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/manage_load_img"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:visibility="gone" />
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
@@ -1,19 +0,0 @@
|
||||
<?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" >
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/ranking_refreshLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scrollbars="none">
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/ranking_recycleView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:overScrollMode="never"
|
||||
android:scrollbars="none" />
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
@@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image_iv"
|
||||
android:layout_width="@dimen/scroll_appdetail_item_width"
|
||||
android:layout_height="@dimen/scroll_appdetail_item_height"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginLeft="@dimen/PX4x"
|
||||
android:layout_marginRight="@dimen/PX4x"
|
||||
android:contentDescription="@null"
|
||||
android:scaleType="fitCenter"
|
||||
android:soundEffectsEnabled="false" />
|
||||
</LinearLayout>
|
||||
@@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image_iv"
|
||||
android:layout_width="@dimen/brandfragment_item_width"
|
||||
android:layout_height="@dimen/brandfragment_item_height"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:contentDescription="@null"
|
||||
android:layout_margin="@dimen/PX5x"
|
||||
android:scaleType="fitXY"
|
||||
android:soundEffectsEnabled="false" />
|
||||
</LinearLayout>
|
||||
@@ -1,119 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:apps="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" >
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/app_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/subject_morelist_itemHight"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="horizontal"
|
||||
android:padding="@dimen/PX4x">
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/app_icon"
|
||||
android:layout_width="@dimen/subject_morelist_headHight"
|
||||
android:layout_height="@dimen/subject_morelist_headHight"
|
||||
android:layout_marginLeft="@dimen/PX6x"
|
||||
android:layout_marginTop="@dimen/PX10x"
|
||||
android:scaleType="centerCrop"
|
||||
android:background="@drawable/mask"
|
||||
android:soundEffectsEnabled="false" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/app_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX20x"
|
||||
android:layout_toRightOf="@id/app_icon"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/app_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/PX5x"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/subject_morelist_titleSize" />
|
||||
|
||||
<com.mjsheng.myappstore.view.StarRatingBar
|
||||
android:id="@+id/ratingbar"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/PX3x"
|
||||
apps:halfstart="true"
|
||||
apps:starCount="0"
|
||||
apps:starNum="5" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/app_size"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/PX10x"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/subject_morelist_appSize" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/app_update_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/PX10x"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/subject_morelist_appSize" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/llDownload"
|
||||
android:layout_width="@dimen/download_Width"
|
||||
android:layout_height="@dimen/download_Hight"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="@dimen/PX15x"
|
||||
android:layout_alignBottom="@id/app_layout"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:orientation="horizontal"
|
||||
android:background="@drawable/download_btn_selector" >
|
||||
<ImageView
|
||||
android:visibility="gone"
|
||||
android:id="@+id/ivDownload"
|
||||
android:layout_width="@dimen/appstore_dialog_imgwidth"
|
||||
android:layout_height="@dimen/appstore_dialog_imgheight"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="@dimen/PX10x"
|
||||
android:background="@drawable/download_start" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvDownload"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:text="@string/download_start_text"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/download_textSize" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/app_desc"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/app_icon"
|
||||
android:layout_marginLeft="@dimen/PX10x"
|
||||
android:layout_marginRight="@dimen/PX15x"
|
||||
android:layout_marginTop="@dimen/PX5x"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/subject_morelist_appSize" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -1,64 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="@dimen/main_exitapp_bgwidth"
|
||||
android:layout_height="@dimen/main_exitapp_bgheight"
|
||||
android:background="@drawable/accountdialog_itembg">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rlTitle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/PX60x"
|
||||
android:background="@drawable/appdetaildialog_bg">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/PX27x" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/rlTitle"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/PX100x"
|
||||
android:text="确定要卸载吗?"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/SP26x" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/positiveButton"
|
||||
android:layout_width="@dimen/account_dialog_bigWidth"
|
||||
android:layout_height="@dimen/account_dialog_bigHeight"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="@dimen/dialog_marginBottom"
|
||||
android:layout_marginLeft="@dimen/PX60x"
|
||||
android:background="@drawable/update_btn_selector"
|
||||
android:gravity="center"
|
||||
android:text="卸载"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/dialog_btnSize" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/negativeButton"
|
||||
android:layout_width="@dimen/account_dialog_bigWidth"
|
||||
android:layout_height="@dimen/account_dialog_bigHeight"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignTop="@id/positiveButton"
|
||||
android:layout_marginRight="@dimen/PX60x"
|
||||
android:background="@drawable/update_btn_selector"
|
||||
android:gravity="center"
|
||||
android:text="取消"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/dialog_btnSize" />
|
||||
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
@@ -1,139 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:apps="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/app_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/uninstallList_adapter_height"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<!--android:background="@drawable/addparent_itembg"-->
|
||||
<ImageView
|
||||
android:id="@+id/app_icon"
|
||||
android:layout_width="@dimen/downloadList_item_width"
|
||||
android:layout_height="@dimen/downloadList_item_width"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="@dimen/PX6x"
|
||||
android:layout_marginRight="@dimen/PX6x" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/PX12x"
|
||||
android:layout_marginTop="@dimen/PX10x"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="4"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/PX8x"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:text="app"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/PX23x"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/app_version"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/PX15x"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/SP20x" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/app_size"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/PX15x"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/SP20x" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="4"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/llDownload"
|
||||
android:layout_width="@dimen/download_Width"
|
||||
android:layout_height="@dimen/download_Hight"
|
||||
android:layout_marginTop="@dimen/PX15x"
|
||||
android:background="@drawable/update_btn_selector"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivDownload"
|
||||
android:layout_width="@dimen/appstore_dialog_imgwidth"
|
||||
android:layout_height="@dimen/appstore_dialog_imgheight"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="@dimen/PX10x"
|
||||
android:background="@drawable/download_open"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvDownload"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:singleLine="true"
|
||||
android:text="@string/open_text"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/download_textSize" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/llCancle"
|
||||
android:layout_width="@dimen/download_Width"
|
||||
android:layout_height="@dimen/download_Hight"
|
||||
android:layout_marginTop="@dimen/PX15x"
|
||||
android:background="@drawable/delete_btn_selector"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/appstore_dialog_imgwidth"
|
||||
android:layout_height="@dimen/appstore_dialog_imgheight"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="@dimen/PX10x"
|
||||
android:background="@drawable/download_delete"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:text="@string/download_delect_text"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/download_textSize" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -1,87 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:apps="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/app_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/uninstallList_adapter_height"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<!--android:background="@drawable/addparent_itembg"-->
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/app_icon"
|
||||
android:layout_width="@dimen/downloadList_item_width"
|
||||
android:layout_height="@dimen/downloadList_item_width"
|
||||
android:layout_marginLeft="@dimen/PX6x"
|
||||
android:layout_centerVertical="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/PX12x"
|
||||
android:layout_marginTop="@dimen/uninstallList_adaptermarginTop"
|
||||
android:layout_toRightOf="@id/app_icon"
|
||||
android:ellipsize="end"
|
||||
android:maxLength="10"
|
||||
android:singleLine="true"
|
||||
android:text="app"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/subject_morelist_titleSize" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/app_version"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignLeft="@id/title"
|
||||
android:layout_below="@id/title"
|
||||
android:layout_marginTop="@dimen/uninstallList_adaptermarginTop"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/subject_morelist_appSize" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/app_size"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignLeft="@id/title"
|
||||
android:layout_below="@id/app_version"
|
||||
android:layout_marginTop="@dimen/uninstallList_adaptermarginTop"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/subject_morelist_appSize" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/llDownload"
|
||||
android:layout_width="@dimen/download_Width"
|
||||
android:layout_height="@dimen/download_Hight"
|
||||
android:layout_alignBottom="@id/app_icon"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="@dimen/PX30x"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:orientation="horizontal"
|
||||
android:background="@drawable/update_btn_selector" >
|
||||
<ImageView
|
||||
android:id="@+id/ivDownload"
|
||||
android:layout_width="@dimen/appstore_dialog_imgwidth"
|
||||
android:layout_height="@dimen/appstore_dialog_imgheight"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="@dimen/PX10x"
|
||||
android:background="@drawable/download_start" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvDownload"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:layout_marginLeft="@dimen/PX10x"
|
||||
android:text="@string/update_text"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/download_textSize" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_update_up"
|
||||
android:layout_width="@dimen/account_dialog_width"
|
||||
android:layout_height="@dimen/account_dialog_height"
|
||||
android:background="@drawable/accountdialog_itembg_new"
|
||||
android:layout_centerInParent="true">
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/PX100x"
|
||||
>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:text="系统升级"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/dialog_marginSize" />
|
||||
</RelativeLayout>
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/pb_update_button"
|
||||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:layout_width="@dimen/PX300x"
|
||||
android:layout_height="@dimen/PX20x"
|
||||
android:layout_centerInParent="true"
|
||||
android:max="100"
|
||||
android:visibility="invisible"/>
|
||||
<TextView
|
||||
android:id="@+id/tv_update_progress"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_below="@+id/pb_update_button"
|
||||
android:layout_marginTop="@dimen/PX15x"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/SP28x"
|
||||
android:visibility="invisible" />
|
||||
<TextView
|
||||
android:id="@+id/tv_update_info"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginLeft="@dimen/PX20x"
|
||||
android:layout_marginRight="@dimen/PX20x"
|
||||
android:lineSpacingMultiplier="1.2"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/SP28x" />
|
||||
<Button
|
||||
android:id="@+id/btn_update_button"
|
||||
android:layout_width="@dimen/account_dialog_bigWidth"
|
||||
android:layout_height="@dimen/account_dialog_btnHeight"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="@dimen/dialog_marginBottom"
|
||||
android:background="@drawable/accountdialog_topbg_new"
|
||||
android:gravity="center"
|
||||
android:text="检查更新"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/SP22x" />
|
||||
</RelativeLayout>
|
||||
|
||||
</FrameLayout>
|
||||
Reference in New Issue
Block a user