<FrameLayout 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" >
|
|
<ImageView
|
android:id="@+id/rl_bg"
|
android:layout_width="match_parent" android:contentDescription="@string/bjskres_img_desc"
|
android:layout_height="match_parent"/>
|
|
<FrameLayout
|
android:id="@+id/scroll_message_bg"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="5dp"
|
android:alpha="0.5"
|
android:background="@color/bjskres_text_gray_dark" >
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:textSize="16sp" />
|
</FrameLayout>
|
|
<TextView
|
android:id="@+id/notification"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="5dp"
|
android:ellipsize="marquee"
|
android:focusable="true"
|
android:focusableInTouchMode="true"
|
android:marqueeRepeatLimit="marquee_forever"
|
android:scrollHorizontally="true"
|
android:singleLine="true"
|
android:textColor="@color/bjskres_white"
|
android:textSize="16sp" />
|
|
<!-- 内容 -->
|
|
<FrameLayout
|
android:id="@+id/content"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:background="@drawable/bjskres_sdk_dialog_base" />
|
|
</FrameLayout>
|