안드로이드 개발 질문/답변
(글 수 45,052)
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/bg">
<TextView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_centerHorizontal="true"
android:text=""
android:textColor="#E3E3E2"
android:textStyle="bold"
android:typeface="sans"
android:textSize="250sp"
android:shadowColor="#000000"
android:shadowDx="2.5"
android:shadowDy="2.5"
android:shadowRadius="1"
android:id="@+id/timer" >
</TextView>
</RelativeLayout>
원래 이렇게 하면 텍스트가 가운데로 정렬되어야 하는것이 아닌가요..?ㅠㅠ
출력은 숫자 카운트다운 하고있습니다. 고수님들 왜 안되는지 찾아주세요..
100 과 1의 위치 차이가 너무 나서 자동으로 센터에 정렬을 하고자 합니다..
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/bg">
<TextView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_centerHorizontal="true"
android:text=""
android:textColor="#E3E3E2"
android:textStyle="bold"
android:typeface="sans"
android:textSize="250sp"
android:shadowColor="#000000"
android:shadowDx="2.5"
android:shadowDy="2.5"
android:shadowRadius="1"
android:id="@+id/timer" >
</TextView>
</RelativeLayout>
원래 이렇게 하면 텍스트가 가운데로 정렬되어야 하는것이 아닌가요..?ㅠㅠ
출력은 숫자 카운트다운 하고있습니다. 고수님들 왜 안되는지 찾아주세요..
100 과 1의 위치 차이가 너무 나서 자동으로 센터에 정렬을 하고자 합니다..