You can find documentation here.
Based on your requirement you can try according option.
to ellipsize, a neologism, means to shorten text using an ellipsis, i.e. three dots ...
or more commonly ligature …
, to stand in for the omitted bits.
Say original value pf text view is aaabbbccc and its fitting inside the view
start
‘s output will be : …bccc
end
‘s output will be : aaab…
middle
‘s output will be : aa…cc
marquee
‘s output will be : aaabbbccc auto sliding from right to left
Related Posts:
- Font size of TextView in Android application changes on changing font size from native settings
- You need to use a Theme.AppCompat theme (or descendant) with this activity
- You need to use a Theme.AppCompat theme (or descendant) with this activity
- How do I remove the title bar from my app?
- Why fragments, and when to use fragments instead of activities?
- How to set the text color of TextView in code?
- Error inflating class fragment
- How to build a horizontal ListView with RecyclerView
- Getting activity from context in android
- Android LinearLayout Gradient Background
- How to customize a Spinner in Android
- How to remove title bar from the android activity?
- What are the differences between LinearLayout, RelativeLayout, and AbsoluteLayout?
- What is the difference between “px”, “dip”, “dp” and “sp”?
- How do you change text to bold in Android?
- How to inflate one view with a layout
- How do I center text horizontally and vertically in a TextView?
- How do I get the currently displayed fragment?
- What exactly does fitsSystemWindows do?
- Determining translationX/Y values for ObjectAnimator; how to move a view to an exact screen position?
- What is the difference between gravity and layout_gravity in Android?
- Closing Application with Exit button
- How to change the color of a button?
- Can I underline text in an Android layout?
- Scrollview can host only one direct child
- How to remove title bar from the android activity?
- Failed to find style ‘coordinatorLayoutStyle’ in current theme
- How to use navigateUp to close the application
- “unable to locate adb” using Android Studio [duplicate]
- Install an apk file from command prompt?
- Can’t create handler inside thread that has not called Looper.prepare()
- Session ‘app’ error while installing APK
- Change project name on Android Studio
- Couldn’t load memtrack module Logcat Error
- How to change the status bar color in Android?
- How to use putExtra() and getExtra() for string data
- How do I get the dialer to open with phone number displayed?
- RecyclerView vs. ListView
- Is there an equivalent to iOS’s Keychain for user credentials on Android?
- Is it possible to convert apk file to IPA file?
- How to: Install Plugin in Android Studio
- What does FrameLayout do?
- How to make a countdown timer in Android?
- Google Sceneform – Is it deprecated? Any replacement?
- getBluetoothService called with no BluetoothManagerCallback
- Android Studio: Unable to obtain result of ‘adb version’
- Android simple alert dialog
- java.lang.RuntimeException: Unable to instantiate activity ComponentInfo
- How to pause / sleep thread or process in Android?
- com.android.ide.common.process.ProcessException: Failed to execute aapt! What can I do?
- How do you change the launcher logo of an app in Android Studio?
- “Bitmap too large to be uploaded into a texture”
- How do you close/hide the Android soft keyboard programmatically?
- Picasso v/s Imageloader v/s Fresco vs Glide vs Coil
- Save bitmap to location
- Android : When do we use getIntent()?
- onActivityResult() not called
- How to resolve the “ADB server didn’t ACK” error?
- Custom Adapter for List View
- The specified child already has a parent. You must call removeView() on the child’s parent first (Android)
- findViewByID returns null
- Android Intent Cannot resolve constructor
- How to implement onBackPressed() in Fragments?
- Does anyone know the what’s causing “Package name is not a valid package name” when adding a new layout?
- Static way to get ‘Context’ in Android?
- Android: adb: Permission Denied
- Android Studio : Failed to set EGL_SWAP_BEHAVIOR on surface
- How to install Google Play Services in a Genymotion VM (with no drag and drop support)?
- Running Node.Js on Android
- Running Node.Js on Android
- Android Device not recognized by adb
- emulator: incompatible HAX module version 3 requirs minimum version 4
- Android ADB doesn’t see device
- admob getting an ad response. ErrorCode: 0 Failed to load ad:0
- Android Studio – Company Domain Name
- Installing ADB on macOS [duplicate]
- Cannot resolve method getApplicationContext()
- Change Orientation of Bluestack : portrait/landscape mode
- Android: failed to convert @drawable/picture into a drawable
- How to use ADB Shell when Multiple Devices are connected? Fails with “error: more than one device and emulator”
- cannot resolve symbol ‘editText’
- This Activity already has an action bar supplied by the window decor
- E/Surface﹕ getSlotFromBufferLocked: unknown buffer: 0xab7519c0
- How to disable an Android button?
- notifyDataSetChange not working from custom adapter
- How can I fix the “No certificates found – The app Chrome has requested a certificate” Android / Google Chrome issue
- How to hide popping up Google Play’s unlocked achievement programatically?
- Error during installing HAXM, VT-X not working
- Error: fix the version conflict (google-services plugin)
- User Operation is waiting for “Building Workspace”
- Android Studio – ADB Error – “…device unauthorized. Please check the confirmation dialog on your device.”
- What is android:ems attribute in Edit Text? [duplicate]
- Android scale animation on view
- adb devices return error: protocol fault (no status)
- How to get text from EditText?
- android.widget.Switch – on/off event listener?
- SDK Location not found in android studio
- Failed to load AppCompat ActionBar with unknown error in android studio
- How can I give access to WordPress site using an Android application ?