Home | History | Annotate | only in /developers/samples/android/ui/text
Up to higher level directory
NameDateSize
.google/22-Oct-2020
CONTRIBUTING.md22-Oct-20201.6K
LICENSE22-Oct-202031.5K
README.md22-Oct-20201.8K
RoundedBackground-Kotlin/22-Oct-2020
screenshots/22-Oct-2020
TextStyling-Java/22-Oct-2020
TextStyling-Kotlin/22-Oct-2020

README.md

      1 Android Text Samples
      2 ====================
      3 These samples show how to work with text in Android.
      4 
      5 Explore the samples
      6 -------------------
      7 The **TextStyling** [Java](https://github.com/googlesamples/android-text/tree/master/TextStyling-Java) and [Kotlin](https://github.com/googlesamples/android-text/tree/master/TextStyling-Kotlin) samples show how to style text using spans.
      8 
      9 The **RoundedBackground** sample shows how to draw a rounded corner background on a text that extends across one or multiple lines, supporting right-to-left text also.
     10 
     11 Screenshots
     12 -----------
     13 <img src="screenshots/main_activity.png" width="30%" />
     14 
     15 <img src="screenshots/rounded_bg.png" width="30%" />
     16 
     17 Support
     18 -------
     19 - Stack Overflow: http://stackoverflow.com/questions/tagged/android-text
     20 
     21 If you've found an error in this sample, please file an issue:
     22 https://github.com/googlesamples/android-text/issues
     23 
     24 Patches are encouraged, and may be submitted by forking this project and
     25 submitting a pull request through GitHub.
     26 
     27 License
     28 --------
     29 ```
     30 Copyright 2018 The Android Open Source Project
     31 
     32 Licensed to the Apache Software Foundation (ASF) under one or more contributor
     33 license agreements. See the NOTICE file distributed with this work for
     34 additional information regarding copyright ownership. The ASF licenses this
     35 file to you under the Apache License, Version 2.0 (the "License"); you may not
     36 use this file except in compliance with the License. You may obtain a copy of
     37 the License at
     38 
     39    http://www.apache.org/licenses/LICENSE-2.0
     40 
     41 Unless required by applicable law or agreed to in writing, software
     42 distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
     43 WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
     44 License for the specific language governing permissions and limitations under
     45 the License.
     46 ```
     47