랭킹으로 돌아가기
Android slanted TextView.
androidtextviewslantedslantedtextview
주요 지표
스타 성장
스타
2.3k
포크
328
주간 성장
—
이슈
1
1k2k
2016년 6월2018년 2월2019년 10월2021년 6월2023년 3월2024년 11월2026년 7월
아티팩트Maven
git clone https://github.com/HeZaiJin/SlantedTextView.gitREADME
SlantedTextView
Android slanted TextView . 中文版
Preview

Gradle
compile 'com.haozhang.libary:android-slanted-textview:1.2'
XML Layout
<com.haozhang.lib.SlantedTextView
android:layout_width="80dp"
android:layout_height="80dp"
android:gravity="center"
app:slantedBackgroundColor="@color/secondary_text"
app:slantedLength="40dp"
app:slantedMode="left"
app:slantedText="IOS"
app:slantedTextColor="@color/primary"
app:slantedTextSize="16sp"
/>
Java
SlantedTextView stv = (SlantedTextView) findViewById(R.id.test);
stv.setText("PHP")
.setTextColor(Color.WHITE)
.setSlantedBackgroundColor(Color.BLACK)
.setTextSize(18)
.setSlantedLength(50)
.setMode(SlantedTextView.MODE_LEFT);
Attributes

SlantedMode

License
Copyright 2016 Hand HaoZhang
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
관련 저장소