简体   繁体   English

重力设置在三星设备上不起作用

[英]Gravity setting not working on a Samsung device

I have developed an application which displays Hebrew strings that are retrived from a server.我开发了一个应用程序,它显示从服务器检索的希伯来语字符串。 I've tested the application on my emulator and all of them have been aligned to right.我已经在我的模拟器上测试了该应用程序,并且所有这些都已正确对齐。 I'm using我在用着

android:gravity="right"

for the TextView .对于TextView

When I test my application on Samsung TG-i9000, in "ignure" the garvity and align the text to left.当我在三星 TG-i9000 上测试我的应用程序时,在“忽略”重力并将文本左对齐。

How it can be fixed?如何修复?

seems like the parent Layout containing TextView has layoutWidth="wrap_Content" , if so, then change it to "fill_Parent"似乎包含 TextView 的父布局具有layoutWidth="wrap_Content" ,如果是,则将其更改为"fill_Parent"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 android 应用程序在三星设备中不起作用 - android app is not working in samsung device ActionBar:设置按钮未出现在三星设备的Actionbar中 - ActionBar: setting button not appear in actionbar on samsung device 为三星手机上的应用设置设备所有者权限 - Setting device owner rights to the app on Samsung phone android:gravity =“ center”不适用于大字体的三星 - android:gravity=“center” not working on Samsung with big font size Android:带有重心的Edittext在设备上不起作用 - Android: Edittext with gravity center not working on device 具有增益调整功能的AudioRecord无法在Samsung Device上运行 - AudioRecord with Gain Adjustment not working on Samsung Device 为什么三星android设备中的旋转不起作用? - Why the rotation in samsung android device is not working? stageWebView在我的三星Nexus设备上不起作用 - stageWebView is not working on my samsung nexus device android:layout_gravity =“ end”在真实设备中编译时不起作用 - android:layout_gravity=“end” not working when compiling in a real device 生物指标FACE ID仅在Samsung设备中有效 - Bio metrics FACE ID working only in Samsung device
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM