Try this::
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:rotation="-95"
android:text="2"
/>
More Related Contents:
- Is there a way to get the source code from an APK file?
- Android: Unable to add window. Permission denied for this window type
- Using the Android RecognizerIntent with a bluetooth headset
- Webview avoid security alert from google play upon implementation of onReceivedSslError
- Android Studio – mergeDebugResources exception
- Error while Running Android Application – Could not initialize OpenglES emulation, use ‘-gpu off’ to disable it
- How to save SMS to inbox in android?
- How do I import material design library to Android Studio?
- How to scale bitmap to screen size?
- Register Application class in Manifest?
- Add padding on view programmatically
- How to set up DAGGER dependency injection from scratch in Android project?
- Android: programmatically adding buttons to a layout
- android: running a background task using AlarmManager
- How to rename a file on sdcard with Android application?
- capturing images with MediaStore.ACTION_IMAGE_CAPTURE intent in android
- Call an activity method from a BroadcastReceiver class
- MaterialDatePicker get selected dates
- First launch take long time (ClassLoader referenced unknown path)
- How to move Bluetooth activity into a Service
- How to display a list of images in a ListView in Android?
- Retrofit 2: Catch connection timeout exception
- Admob implementation Error
- Logcat error: “addView(View, LayoutParams) is not supported in AdapterView” in a ListView
- Export the Contacts as VCF file
- Android: Event ACTION_POWER_CONNECTED is not sent to my BroadcastReceiver
- SQLite android column not found
- Android cluster and marker clicks
- Search all .pdf files present in the Android device
- camera app not working?