|
1 |
| ---- |
| 1 | +--http://schemas.android.com/apk/res-autoSkip to content |
| 2 | +Sign up |
| 3 | +This repository has been archived by the owner. It is now read-only. |
| 4 | +imknown |
| 5 | +/ |
| 6 | +BetterTextClockBackport |
| 7 | +Public archive |
| 8 | +[Deprecated] Backport Android 4.2 TextClock to Android 1.6+ with some codes of 12/24 format control. |
| 9 | + |
| 10 | + Apache-2.0 License |
| 11 | + 15 stars 2 forks |
| 12 | +Code |
| 13 | +Issues |
| 14 | +Pull requests |
| 15 | +Actions |
| 16 | +Projects |
| 17 | +Wiki |
| 18 | +Security |
| 19 | +Insights |
| 20 | +Latest commit |
| 21 | +@imknown |
| 22 | +imknown |
| 23 | +… |
| 24 | +on Jun 1, 2017 |
| 25 | +Git stats |
| 26 | +Files |
| 27 | +README.md |
| 28 | +BetterTextClockBackport |
| 29 | +Backport Android 4.2 TextClock to Android 1.6+ with some codes of 12/24 format control. |
| 30 | + |
| 31 | +Screen record |
| 32 | +This is the gif of version 1.0.0, NOT the latest! |
| 33 | +github |
| 34 | + |
| 35 | +Sample code |
| 36 | +<net.imknown.bettertextclockbackportlibrary.TextClock |
| 37 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
| 38 | + android:layout_width="wrap_content" |
| 39 | + android:layout_height="wrap_content" |
| 40 | + app:forceUse="format24" |
| 41 | + app:format24Hour="k:m:s"/> |
| 42 | +For more info, plz see the sample: xml layout & java code. |
| 43 | + |
| 44 | +Install to project from jCenter |
| 45 | +Gradle dependency |
| 46 | +compile 'net.imknown:BetterTextClockBackportLibrary:1.0.1' |
| 47 | +Maven dependency |
| 48 | +<dependency> |
| 49 | + <groupId>net.imknown</groupId> |
| 50 | + <artifactId>BetterTextClockBackportLibrary</artifactId> |
| 51 | + <version>1.0.1</version> |
| 52 | + <type>pom</type> |
| 53 | +</dependency> |
| 54 | +Google AOSP code reference to: |
| 55 | +https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/view/RemotableViewMethod.java |
| 56 | +https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/widget/TextClock.java |
| 57 | +https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/text/format/DateFormat.java |
| 58 | + |
| 59 | +Some Todo code reference to: |
| 60 | +https://github.com/vojtech/android-textclock-backport |
| 61 | + |
| 62 | +License |
| 63 | +Copyright 2016 imknown |
| 64 | + |
| 65 | +Licensed under the Apache License, Version 2.0 (the "License"); |
| 66 | +you may not use this file except in compliance with the License. |
| 67 | +You may obtain a copy of the License at |
| 68 | + |
| 69 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 70 | + |
| 71 | +Unless required by applicable law or agreed to in writing, software |
| 72 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 73 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 74 | +See the License for the specific language governing permissions and |
| 75 | +limitations under the License. |
| 76 | +Releases |
| 77 | +No releases published |
| 78 | +Packages |
| 79 | +No packages published |
| 80 | +Languages |
| 81 | +Java |
| 82 | +100.0% |
| 83 | +© 2022 GitHub, Inc. |
| 84 | +Terms |
| 85 | +Privacy |
| 86 | +Security |
| 87 | +Status |
| 88 | +Docs |
| 89 | +Contact GitHub |
| 90 | +Pricing |
| 91 | +API |
| 92 | +Training |
| 93 | +Blog |
| 94 | +About |
| 95 | +https://github.com/vojtech/android-textclock-backport- |
2 | 96 | title: Quickstart for Codespaces
|
3 | 97 | intro: 'Try out {% data variables.product.prodname_codespaces %} in 5 minutes.'
|
4 | 98 | allowTitleToDifferFromFilename: true
|
|
0 commit comments