ht_dialog_common_tips.xml 3.1 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
   android:orientation="vertical"
   android:layout_width="match_parent"
   android:layout_height="match_parent">

   <RelativeLayout
      android:layout_width="match_parent"
      style="@style/ht_title_style"
      android:layout_height="wrap_content">

      <TextView
         style="@style/ht_title_text_style"
         android:id="@+id/ht_page_title"
         android:layout_width="match_parent"
         android:layout_height="40dp"
         android:text="温馨提示" />

      <ImageView
         android:id="@+id/ht_close_img"
         style="@style/ht_close_style"
         android:layout_width="18dp"
         android:layout_height="18dp" />
   </RelativeLayout>

   <LinearLayout
      android:layout_width="match_parent"
      android:orientation="vertical"
      style="@style/ht_content_style"
      android:layout_height="match_parent">

      <ScrollView
         android:layout_width="match_parent"
         android:orientation="vertical"
         android:background="@drawable/ht_edittext_bg"
         android:layout_weight="1"
         android:scrollbars="none"
         android:layout_margin="10dp"
         android:layout_height="0dp">

         <TextView
            android:id="@+id/ht_common_tip_tv"
            android:layout_width="wrap_content"
            android:textSize="12sp"
            android:minHeight="150dp"
            android:textColor="@color/ht_common_text"
            android:lineSpacingMultiplier="1.5"
            android:padding="10dp"
            android:text="致玩家:\n
\t\t根据《国家新闻出版署关于防止未成年人沉迷网络游戏的通知》:所有游戏用户均须使用有效身份信息方可进行注册登录游戏。
\n\t\t为响应国家政策号召,营造良好的游戏环境,请您完善实名信息再进行游戏,由此带来的不便请您谅解!"
            android:layout_height="wrap_content" />
      </ScrollView>

      <View
         android:layout_width="match_parent"
         android:layout_height="1dp"
         android:background="@drawable/ht_divider" />

      <LinearLayout
         android:layout_width="match_parent"
         android:orientation="horizontal"
         android:showDividers="middle"
         android:layout_margin="5dp"
         android:layout_height="50dp">

         <Button
            android:id="@+id/ht_common_tip_left_btn"
            android:layout_width="wrap_content"
            android:layout_weight="1"
            android:background="@drawable/ht_btn_ovl_gray_selector"
            android:text="取消"
            android:layout_marginRight="5dp"
            android:layout_height="match_parent" />

         <Button
            android:id="@+id/ht_common_tip_right_btn"
            android:layout_width="wrap_content"
            android:layout_weight="1"
            android:background="@drawable/ht_btn_ovl_selector"
            android:text="确定"
            android:textColor="@color/ht_main_color_text"
            android:layout_height="match_parent" />

      </LinearLayout>
   </LinearLayout>
</LinearLayout>