如何在 textview 中设置所有行的字符长度相同?
这是 sqlite 数据库中的文本

这是android中的textview

我在 main.class 中的查询代码
db.open(); 光标 c = db.getdescIntro(department,degree);
    if (c.moveToFirst())
    {
        do {
            a  = (String)c.getString(0);                
            txt.setText(a);
            PDF = c.getString(2);
        } while (c.moveToNext());
    }
    db.close();
我的数据库.class
公共光标getdescIntro(字符串dep,字符串度数){
return db.query("academic", new String[] {"desc","department","acapdf"},"department" + "=?" +" AND " + "degree" +"=?", new字符串[] {dep,degree}, null, null, null);
}