Relative dimensions issue with android:supportsRtl=“false”
up vote
1
down vote
favorite
I've used dimensions as paddingStart or paddingEnd instead of paddingLeft or paddingRight, but when i disabled RTL support with 'android:supportsRtl="false"' . Then in whole app the layout is not picking dimens and views are disturbed. I tried a view with replacing paddingStart with paddingLeft and it got corrected. But i don't want to change it in whole app. Is relative dimension scheme supported for RTL support only? what if i want to disable RTL support in a app that previously had that support in it?
android android-layout android-support-library
add a comment |
up vote
1
down vote
favorite
I've used dimensions as paddingStart or paddingEnd instead of paddingLeft or paddingRight, but when i disabled RTL support with 'android:supportsRtl="false"' . Then in whole app the layout is not picking dimens and views are disturbed. I tried a view with replacing paddingStart with paddingLeft and it got corrected. But i don't want to change it in whole app. Is relative dimension scheme supported for RTL support only? what if i want to disable RTL support in a app that previously had that support in it?
android android-layout android-support-library
What you want to achieve by disabling RTL support? you want the app to force LTR?
– Shlomi Fresko
Nov 7 at 14:17
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I've used dimensions as paddingStart or paddingEnd instead of paddingLeft or paddingRight, but when i disabled RTL support with 'android:supportsRtl="false"' . Then in whole app the layout is not picking dimens and views are disturbed. I tried a view with replacing paddingStart with paddingLeft and it got corrected. But i don't want to change it in whole app. Is relative dimension scheme supported for RTL support only? what if i want to disable RTL support in a app that previously had that support in it?
android android-layout android-support-library
I've used dimensions as paddingStart or paddingEnd instead of paddingLeft or paddingRight, but when i disabled RTL support with 'android:supportsRtl="false"' . Then in whole app the layout is not picking dimens and views are disturbed. I tried a view with replacing paddingStart with paddingLeft and it got corrected. But i don't want to change it in whole app. Is relative dimension scheme supported for RTL support only? what if i want to disable RTL support in a app that previously had that support in it?
android android-layout android-support-library
android android-layout android-support-library
asked Nov 7 at 8:30
Usman Rana
700617
700617
What you want to achieve by disabling RTL support? you want the app to force LTR?
– Shlomi Fresko
Nov 7 at 14:17
add a comment |
What you want to achieve by disabling RTL support? you want the app to force LTR?
– Shlomi Fresko
Nov 7 at 14:17
What you want to achieve by disabling RTL support? you want the app to force LTR?
– Shlomi Fresko
Nov 7 at 14:17
What you want to achieve by disabling RTL support? you want the app to force LTR?
– Shlomi Fresko
Nov 7 at 14:17
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
If you want to force the app to LTR, You can use this answer:
Force LTR
The above mentioned issue still persists. It seems like relative dimens are not working for support library widgets only by disabling RTL support
– Usman Rana
Nov 8 at 6:11
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
If you want to force the app to LTR, You can use this answer:
Force LTR
The above mentioned issue still persists. It seems like relative dimens are not working for support library widgets only by disabling RTL support
– Usman Rana
Nov 8 at 6:11
add a comment |
up vote
0
down vote
If you want to force the app to LTR, You can use this answer:
Force LTR
The above mentioned issue still persists. It seems like relative dimens are not working for support library widgets only by disabling RTL support
– Usman Rana
Nov 8 at 6:11
add a comment |
up vote
0
down vote
up vote
0
down vote
If you want to force the app to LTR, You can use this answer:
Force LTR
If you want to force the app to LTR, You can use this answer:
Force LTR
answered Nov 7 at 14:23
Shlomi Fresko
301310
301310
The above mentioned issue still persists. It seems like relative dimens are not working for support library widgets only by disabling RTL support
– Usman Rana
Nov 8 at 6:11
add a comment |
The above mentioned issue still persists. It seems like relative dimens are not working for support library widgets only by disabling RTL support
– Usman Rana
Nov 8 at 6:11
The above mentioned issue still persists. It seems like relative dimens are not working for support library widgets only by disabling RTL support
– Usman Rana
Nov 8 at 6:11
The above mentioned issue still persists. It seems like relative dimens are not working for support library widgets only by disabling RTL support
– Usman Rana
Nov 8 at 6:11
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53185799%2frelative-dimensions-issue-with-androidsupportsrtl-false%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What you want to achieve by disabling RTL support? you want the app to force LTR?
– Shlomi Fresko
Nov 7 at 14:17