小编Mok*_*adi的帖子

如何RTL这个Android布局?

我想在Android中布局下面的rtl(从右到左)就像layoutDirection="rtl"在父布局中使用时(但它仅用于4.2及更高版本)以及任何方式使其明确地从右向左.这是主要的android项目布局的一部分,用于Android中的Preference Activity.

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2006 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. …
Run Code Online (Sandbox Code Playgroud)

android android-layout right-to-left

3
推荐指数
1
解决办法
1万
查看次数

标签 统计

android ×1

android-layout ×1

right-to-left ×1