真心请教一个问题,三星S4 4.2.2系统1920*1080运行异常
我写了一个后台设置,点开后popupWindow = new PopupWindow(view, 300, 200);
显示这个窗口
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/dark"
android:orientation="vertical"
android:alpha="0.85"
android:gravity="top"
android:textColor="@drawable/white" >
<LinearLayout android:id="@+id/linearLayout1" android:layout_marginTop="10dip" android:orientation="vertical" android:gravity="center" android:layout_height="wrap_content" android:layout_width="match_parent">
<TextView android:text="选择" android:textSize="20dip" android:textColor="@drawable/white" android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView>
<ScrollView
android:id="@+id/scrollView1"
android:layout_width="match_parent"
android:layout_height="200dp" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="center"
android:paddingTop="10dip"
android:paddingBottom="10dip">
<RadioGroup android:id="@+id/radioGroup1" android:layout_marginLeft="-20dip" android:layout_marginTop="10dip" android:layout_width="wrap_content" android:layout_height="wrap_content">
</RadioGroup>
</LinearLayout>
</ScrollView>
<View android:id="@+id/view1" android:layout_marginTop="10dip" android:layout_width="220dip" android:layout_height="1dip"
android:background="#666666"></View>
</LinearLayout>
<TableLayout android:layout_width="match_parent" android:layout_marginTop="10dip" android:id="@+id/tableLayout1" android:layout_height="wrap_content">
<TableRow android:layout_height="wrap_content" android:layout_width="match_parent" android:id="@+id/tableRow1" android:gravity="center">
<TextView android:text="取 消" android:textSize="18dip" android:textColor="@drawable/white"
android:id="@+id/cancel" android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView>
<TextView android:text="确 认" android:textSize="18dip" android:layout_marginLeft="20dip"
android:textColor="@drawable/white" android:id="@+id/countersign"
android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView>
</TableRow>
</TableLayout>
</LinearLayout>
下边的“取消”和“确认”按钮不显示 其他能显示。
但是在其他手机都正常显示。
显示这个窗口
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/dark"
android:orientation="vertical"
android:alpha="0.85"
android:gravity="top"
android:textColor="@drawable/white" >
<LinearLayout android:id="@+id/linearLayout1" android:layout_marginTop="10dip" android:orientation="vertical" android:gravity="center" android:layout_height="wrap_content" android:layout_width="match_parent">
<TextView android:text="选择" android:textSize="20dip" android:textColor="@drawable/white" android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView>
<ScrollView
android:id="@+id/scrollView1"
android:layout_width="match_parent"
android:layout_height="200dp" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="center"
android:paddingTop="10dip"
android:paddingBottom="10dip">
<RadioGroup android:id="@+id/radioGroup1" android:layout_marginLeft="-20dip" android:layout_marginTop="10dip" android:layout_width="wrap_content" android:layout_height="wrap_content">
</RadioGroup>
</LinearLayout>
</ScrollView>
<View android:id="@+id/view1" android:layout_marginTop="10dip" android:layout_width="220dip" android:layout_height="1dip"
android:background="#666666"></View>
</LinearLayout>
<TableLayout android:layout_width="match_parent" android:layout_marginTop="10dip" android:id="@+id/tableLayout1" android:layout_height="wrap_content">
<TableRow android:layout_height="wrap_content" android:layout_width="match_parent" android:id="@+id/tableRow1" android:gravity="center">
<TextView android:text="取 消" android:textSize="18dip" android:textColor="@drawable/white"
android:id="@+id/cancel" android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView>
<TextView android:text="确 认" android:textSize="18dip" android:layout_marginLeft="20dip"
android:textColor="@drawable/white" android:id="@+id/countersign"
android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView>
</TableRow>
</TableLayout>
</LinearLayout>
下边的“取消”和“确认”按钮不显示 其他能显示。
但是在其他手机都正常显示。
...全文
相关推荐
三星s健康4.1.2通用版
三星s健康是一款支持s4,note3,mega的软件,4.1.2系统一直无法使用,此版本是移植版,完美支持安卓4.1.2系统的手机
Samsung Galaxy S4 - 4.2.2 - API 17 - 1080x1920
Samsung Galaxy S4 - 4.2.2 - API 17 - 1080x1920 模拟器
三星s8 s8+ note8网络锁卡锁区域锁解锁教程
三星s8 s8+ note8网络锁卡锁区域锁解锁教程 安全快速,完全可以自己解锁
三星S8 解锁APK 方法 crom以及三星驱动
三星S8 解锁工具apk 以及 三星s8 驱动 及解锁方法 一目了然
三星s4原生安卓5.0开机动画bootsamsung.qmg
三星s4安卓5.0原生开机动画bootsamsung.qmg是我根据原生安卓5.0的开机启动动画编译的,208帧分辨率1920x1080(替换system/media下的文件即可)


