2017-04-25 1 views
0

두 번째 줄이있을 때마다 왼쪽에서부터 화면의 시작 부분으로 갈 것입니다. 첫 번째 줄에서 특정 공간으로 시작하는 동안 3을 쓰려고하기 때문에 두 번째 또는 세 번째 레벨의 두 번째 라인이 화면의 시작 부분으로 돌아올 때 내 조직이 폐허가된다. 공간을 추가하는 것이 좋은 해결책이 아니라는 사실을 알고있다. 하나 추가안드로이드 스튜디오에서 단락의 텍스트 정렬,

+1

패딩 –

+0

마진이 내 문제, 감사를 해결 여백을 사용해보십시오, – user7833150

답변

1

세로보기와 가로보기를 모두 디자인해야합니다. 화면 레이아웃이 다르기 때문에 둘 다 다른 xml을 사용합니다. 그래서 이것은 초상화와 풍경에 대한 문제를 해결할 것입니다. 그리고 처음부터 시작하는 텍스트의 경우 해당 텍스트보기에 여백을 주십시오.

This Link

0

이를보십시오 따르

<TextView 
      android:layout_width="wrap_content" 
      android:layout_height="wrap_content" 
      android:text="\t\t\t\t\t\tLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."/> 
관련 문제