「Androidのシステムフォント」の版間の差分

ページの作成:「Androidのシステムフォントは以下のディレクトリに格納されている。 /system/fonts/ 書き込みにはroot権限が必要だが、読み取…」
 
編集の要約なし
 
(同じ利用者による、間の1版が非表示)
4行目: 4行目:
書き込みには[[root]]権限が必要だが、読み取りはできる。
書き込みには[[root]]権限が必要だが、読み取りはできる。


ファイルを列挙してみる。
Xamarin.Androidでファイルを列挙してみる。
<source lang="csharp">
<source lang="csharp">
var files = Directory.EnumerateFiles("/system/fonts/", "*.*", SearchOption.AllDirectories);
var files = Directory.EnumerateFiles("/system/fonts/", "*.*", SearchOption.AllDirectories);
foreach (var file in files)
foreach (var file in files)
{
{
    Console.WriteLine(file);
    Console.WriteLine(file);
}
}
</source>
</source>
結果は端末により異なるようだ。


[[category: フォント]]
[[category: フォント]]
[[category: Android]]
[[category: Android]]